frankvicky commented on code in PR #19400:
URL: https://github.com/apache/kafka/pull/19400#discussion_r2076862882


##########
streams/src/main/java/org/apache/kafka/streams/KafkaStreams.java:
##########
@@ -1645,6 +1606,7 @@ private Consumer<StreamThread> 
streamThreadLeaveConsumerGroup(final long remaini
             if (groupInstanceId.isPresent()) {
                 log.debug("Sending leave group trigger to removing instance 
from consumer group: {}.",
                     groupInstanceId.get());
+                System.err.println(groupInstanceId.get());

Review Comment:
   The test of close consumer we already have a test: 
`org.apache.kafka.clients.consumer.KafkaConsumerTest#testGracefulClose`
   
   It would give us enough protection after we replace it with the new close 
API.
   I would like to do it in a separate PR.
   https://issues.apache.org/jira/browse/KAFKA-19249
   



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to