Details
Description
Currently if you try to abort a transaction with any pending (non-flushed) data, the send exception is set to
KafkaException("Failing batch since transaction was aborted")
This exception type is generally considered fatal, but this is a valid state to be in – the point of throwing the exception is to alert that the records will not be sent, not that you are in an unrecoverable error state.
We should throw a different (possibly new) type of exception here to distinguish from fatal and recoverable errors.
Attachments
Issue Links
- causes
-
KAFKA-10169 KafkaException: Failing batch since transaction was aborted
- Resolved
- links to
- mentioned in
-
Page Loading...