lytt925 commented on code in PR #24241:
URL: https://github.com/apache/kafka/pull/24241#discussion_r4579060502
##########
clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java:
##########
@@ -900,6 +900,10 @@ public void unsubscribe() {
* the previous pattern of passing a listener to the {@code subscribe()}
methods (which are now deprecated).
*
* <p>
+ * The listener is only invoked when the consumer uses group management
through {@code subscribe()}.
+ * Calling this method does not throw if the consumer does not use group
management.
Review Comment:
Thank you. I rephrased it to use only one negative term.
--
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]