jolshan commented on code in PR #13591:
URL: https://github.com/apache/kafka/pull/13591#discussion_r1184411246


##########
clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java:
##########
@@ -1090,6 +1090,9 @@ private void maybeFailWithError() {
             } else if (lastError instanceof InvalidProducerEpochException) {
                 throw new InvalidProducerEpochException("Producer with 
transactionalId '" + transactionalId
                     + "' and " + producerIdAndEpoch + " attempted to produce 
with an old epoch");
+            } else if (lastError instanceof IllegalStateException) {
+                throw new IllegalStateException("Producer with transactionalId 
'" + transactionalId

Review Comment:
   Sorry to ask for another update, but should we add a more specific 
explanation? Maybe mentioning state transitions?



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

Reply via email to