lytt925 commented on code in PR #24241:
URL: https://github.com/apache/kafka/pull/24241#discussion_r4583883014
##########
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()}.
Review Comment:
Updated. I change it to that the listener can be registered with or without
group management and it is retained when the consumer switches between assign
and subscribe. Does this look good to you?
--
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]