izzyharker commented on code in PR #20907:
URL: https://github.com/apache/kafka/pull/20907#discussion_r2542651472


##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/modern/consumer/ConsumerGroup.java:
##########
@@ -1034,7 +1038,7 @@ private void maybeRemovePartitionEpoch(
      *
      * @param assignment    The assignment.
      * @param expectedEpoch The expected epoch.
-     * @throws IllegalStateException if the epoch does not match the expected 
one.
+     * @throws IllegalStateException if the epoch does not exist.

Review Comment:
   Did you mean hitting the same IllegalStateException or the second check in 
the method? I made a second test with that order for the ConsumerGroup and 
didn't have any more issues. 



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