bbejeck commented on code in PR #19955:
URL: https://github.com/apache/kafka/pull/19955#discussion_r2407293352
##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamThread.java:
##########
@@ -367,7 +367,8 @@ public boolean isStartingRunningOrPartitionAssigned() {
// These are used to signal from outside the stream thread, but the
variables themselves are internal to the thread
private final AtomicLong cacheResizeSize = new AtomicLong(-1L);
- private final AtomicBoolean leaveGroupRequested = new AtomicBoolean(false);
+ private final
AtomicReference<org.apache.kafka.streams.CloseOptions.GroupMembershipOperation>
leaveGroupRequested =
+ new
AtomicReference<>(org.apache.kafka.streams.CloseOptions.GroupMembershipOperation.LEAVE_GROUP);
Review Comment:
The default should be `REMAIN_IN_GROUP`, which corresponds to the default of
`leaveGroupRequested = false`
--
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]