You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Boyang Chen (Jira)" <ji...@apache.org> on 2021/01/30 21:04:00 UTC
[jira] [Created] (KAFKA-12260) PartitionsFor should not return null
value
Boyang Chen created KAFKA-12260:
-----------------------------------
Summary: PartitionsFor should not return null value
Key: KAFKA-12260
URL: https://issues.apache.org/jira/browse/KAFKA-12260
Project: Kafka
Issue Type: Improvement
Components: consumer
Reporter: Boyang Chen
consumer.partitionsFor() could return null value when topic was not found. This was not properly documented and was error-prone when the return type was a list. We should fix the logic internally to prevent partitionsFor returning null result.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)