[ https://issues.apache.org/jira/browse/KAFKA-17340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17873511#comment-17873511 ]
shilin Lu edited comment on KAFKA-17340 at 8/14/24 12:00 PM: ------------------------------------------------------------- commit a pr for this issue: [https://github.com/apache/kafka/pull/16880] [~guozhang] [~junrao] please take a look was (Author: lushilin): commit a pr for this issue: [https://github.com/apache/kafka/pull/16880] > Kafka Java sdk ConsumerConfig describe doc is incorrectly > ---------------------------------------------------------- > > Key: KAFKA-17340 > URL: https://issues.apache.org/jira/browse/KAFKA-17340 > Project: Kafka > Issue Type: Improvement > Components: clients > Reporter: shilin Lu > Assignee: shilin Lu > Priority: Major > Attachments: image-2024-08-14-19-42-01-949.png, > image-2024-08-14-19-42-53-340.png > > > In KIP-361,If the broker is older than 0.11.0, {{allow.auto.create.topics > }}must be set to {{true. }}If set to {{false}} in this case, the consumer > will throw an {{InvalidConfigurationException}} at run-time. Specifically, > the exception will be thrown on calling KafkaConsumer#poll after subscribing > to a non-existent topic. > But in ConsumerConfig, the describe in ALLOW_AUTO_CREATE_TOPICS_DOC is " > This configuration must be set to `false` when using brokers older than > 0.11.0" > !image-2024-08-14-19-42-53-340.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)