junrao commented on code in PR #19250: URL: https://github.com/apache/kafka/pull/19250#discussion_r2006572003
########## clients/src/main/java/org/apache/kafka/clients/producer/KafkaProducer.java: ########## @@ -234,9 +229,10 @@ * successful writes are marked as aborted, hence keeping the transactional guarantees. * </p> * <p> - * This client can communicate with brokers that are version 0.10.0 or newer. Older or newer brokers may not support - * certain client features. For instance, the transactional APIs need broker versions 0.11.0 or later. You will receive an - * <code>UnsupportedVersionException</code> when invoking an API that is not available in the running broker version. + * This client can communicate with brokers that are version 2.1 or newer. Older brokers may not support Review Comment: For producers, transaction.version needs to be set on the newer server to enable txn V2 support. For consumers, group.version needs to be set to enable the new consumer rebalance protocol. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
