Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.9.0.0
-
None
-
None
Description
KafkaConsumer.partitionsFor method by it's signature returns a List<PartitionInfo>. Problem is that in case (metadata for) topic does not exist, current implementation will return null, which is considered a bad practice - instead of null it should return empty list.
Root cause is that the Cluster collection returning methods are returning null.