Ritika Reddy created KAFKA-19690:
------------------------------------

             Summary: Unexpected Fatal error InvalidTxnStateException on Kafka 
Streams (KIP-890)
                 Key: KAFKA-19690
                 URL: https://issues.apache.org/jira/browse/KAFKA-19690
             Project: Kafka
          Issue Type: Bug
            Reporter: Ritika Reddy
            Assignee: Ritika Reddy


We are seeing cases where a Kafka Streams (KS) thread stalls for ~20 seconds, 
resulting in a visible gap in the logs. During this stall, the broker correctly 
aborts the open transaction (triggered by the 10-second transaction timeout). 
So far, this is expected behavior. However, when the KS thread resumes, instead 
of receiving the expected InvalidProducerEpochException (which we already 
handle gracefully as part of transaction abort), the client is instead hit with 
an InvalidTxnStateException. KS currently treats this as a fatal error, causing 
the application to fail.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to