kirktrue commented on code in PR #14640:
URL: https://github.com/apache/kafka/pull/14640#discussion_r1421253120


##########
clients/src/test/java/org/apache/kafka/clients/consumer/internals/MembershipManagerImplTest.java:
##########
@@ -790,6 +812,197 @@ public void 
testOnSubscriptionUpdatedTransitionsToJoiningOnlyIfNotInGroup() {
         verify(membershipManager, never()).transitionToJoining();
     }
 
+    @Test
+    public void testListenerCallbacksBasic() {

Review Comment:
   @dajac @lianetm—I'm seeing an issue when writing a test that validates 
failures for `onPartitionsRevoked()`. If an `onPartitionsRevoked()` callback 
throws an exception, is the intention that we still run the 
`onPartitionsAssigned()` callback regardless?



##########
clients/src/test/java/org/apache/kafka/clients/consumer/internals/MembershipManagerImplTest.java:
##########
@@ -790,6 +812,197 @@ public void 
testOnSubscriptionUpdatedTransitionsToJoiningOnlyIfNotInGroup() {
         verify(membershipManager, never()).transitionToJoining();
     }
 
+    @Test
+    public void testListenerCallbacksBasic() {

Review Comment:
   @dajac @lianetm—I'm seeing an issue when writing a test that validates 
failures for `onPartitionsRevoked()`. If an `onPartitionsRevoked()` callback 
throws an exception, is the intention that we still run the 
`onPartitionsAssigned()` callback regardless?



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