wcarlson5 commented on a change in pull request #9984:
URL: https://github.com/apache/kafka/pull/9984#discussion_r566188299



##########
File path: 
streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamThread.java
##########
@@ -1158,6 +1176,14 @@ public String toString(final String indent) {
         return indent + "\tStreamsThread threadId: " + getName() + "\n" + 
taskManager.toString(indent);
     }
 
+    public Optional<String> getGroupInstanceID() {
+        return getGroupInstanceID;
+    }
+
+    public void leaveGroup() {
+        this.leaveGroup.set(true);

Review comment:
       Either way we will need to set a flag and let thread take care of it so 
I will just rename it




----------------------------------------------------------------
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.

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


Reply via email to