[
https://issues.apache.org/jira/browse/KAFKA-17340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-17340.
------------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
> 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
> Fix For: 4.0.0
>
> 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)