chia7712 commented on code in PR #23852:
URL: https://github.com/apache/kafka/pull/23852#discussion_r4309155589
##########
clients/src/test/java/org/apache/kafka/clients/consumer/internals/SubscriptionStateTest.java:
##########
@@ -591,6 +591,14 @@ public void unsubscribeUserSubscribe() {
assertEquals(1, state.numAssignedPartitions());
}
+ @Test
+ public void testUnsubscribeDoesNotResetRebalanceListener() {
Review Comment:
Could you please add an integration test? The unit test only covers
SubscriptionState rather than the consumer itself, but this bug is visible to
users at the consumer level.
--
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]