guozhangwang commented on a change in pull request #9354:
URL: https://github.com/apache/kafka/pull/9354#discussion_r498576378



##########
File path: 
clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractCoordinator.java
##########
@@ -948,7 +948,7 @@ private synchronized void resetStateAndRejoin() {
     synchronized void resetGenerationOnResponseError(ApiKeys api, Errors 
error) {
         log.debug("Resetting generation after encountering {} from {} response 
and requesting re-join", error, api);
 
-        resetState();
+        resetStateAndRejoin();

Review comment:
       That is fine since in the outer caller `FENCED_INSTANCE_ID` would be 
treated as fatal, in line 1386.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to