jolshan commented on code in PR #12149: URL: https://github.com/apache/kafka/pull/12149#discussion_r1004948547
########## clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java: ########## @@ -155,7 +155,7 @@ private enum State { private boolean isTransitionValid(State source, State target) { switch (target) { case UNINITIALIZED: - return source == READY; + return source == READY || source == ABORTABLE_ERROR; Review Comment: Do we know if there are other implications for this state machine change? It seems sort of like we want to just make the authorization error retriable -- but instead we are manking it abortable + making this specific abortable error reset to "uninitialized" I'm not an expert in this area, but are there any other implications with re-initializing the producer? -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org