nateab opened a new pull request, #225:
URL: https://github.com/apache/flink-connector-kafka/pull/225

   When a Kafka transaction's producer ID mapping expires on the broker, 
commitTransaction() throws InvalidPidMappingException. Previously this fell 
through to the generic Exception handler, calling signalFailedWithUnknownReason 
which triggers a failover. On recovery the same expired transaction is 
replayed, causing an infinite restart loop.
   
   Catch InvalidPidMappingException explicitly and call 
signalFailedWithKnownReason so the framework's configured strategy can handle 
it (e.g., skip the unrecoverable transaction).


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