Hello Apache Kafka community,

Scala API had hasLeader method in PartitionMetadata of MetadatResponse. I
see new Java API does not have such method and there's no javadoc on the
class. Can somebody please explain - will leader reference be null or
something when partition has no leader? Why not encode this into a method
like hasLeader?

Kind regards,
Stevo Slavic.

Reply via email to