in core/src/main/scala/org/apache/spark/eventhubs/NameAndPartition.scala [30:35]
override def equals(obj: scala.Any): Boolean = obj match {
case that: NameAndPartition =>
this.ehName == that.ehName &&
this.partitionId == that.partitionId
case _ => false
}