muralibasani commented on code in PR #23564:
URL: https://github.com/apache/kafka/pull/23564#discussion_r4087095696


##########
streams/integration-tests/src/test/java/org/apache/kafka/streams/integration/RestoreIntegrationTest.java:
##########
@@ -257,7 +258,7 @@ public void shouldRestoreNullRecord(final boolean 
useNewProtocol, final boolean
                 consumerConfig, outputTopic, initialKeyValues);
 
         // wipe out state store to trigger restore process on restart
-        streams.close();
+        
streams.close(CloseOptions.groupMembershipOperation(CloseOptions.GroupMembershipOperation.LEAVE_GROUP));

Review Comment:
   I think leave group is by default in new protocol and this test uses new 
protocol. 
   Would this be redundant in this case ?



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

Reply via email to