This is an automated email from the ASF dual-hosted git repository. ijuma pushed a commit to branch consumer-javadoc-minimum-broker-version in repository https://gitbox.apache.org/repos/asf/kafka.git
commit a02e97cdd32fd36114c94a44b561c6f0e6896581 Author: Ismael Juma <[email protected]> AuthorDate: Wed Mar 19 13:53:21 2025 -0700 MINOR: Specify 2.1 as the minimum broker version in KafkaConsumer javadoc --- .../main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java b/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java index 70c0f7cadd5..a64bdfb4019 100644 --- a/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java +++ b/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java @@ -61,9 +61,9 @@ import static org.apache.kafka.common.utils.Utils.propsToMap; * The consumer is not thread-safe. See <a href="#multithreaded">Multi-threaded Processing</a> for more details. * * <h3>Cross-Version Compatibility</h3> - * This client can communicate with brokers that are version 0.10.0 or newer. Older or newer brokers may not support - * certain features. For example, 0.10.0 brokers do not support offsetsForTimes, because this feature was added - * in version 0.10.1. You will receive an {@link org.apache.kafka.common.errors.UnsupportedVersionException} + * This client can communicate with brokers that are version 2.1 or newer. Older or newer brokers may not support + * certain features. For example, 3.9 brokers do not support {@code subscribe(SubscriptionPattern)}, because this feature was added + * in version 4.0. You will receive an {@link org.apache.kafka.common.errors.UnsupportedVersionException} * when invoking an API that is not available on the running broker version. * <p> *
