-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-2981: Suppress abortTransaction exception
Fixes: #2981 When `producer.abortTransaction()` fails, the original exception is lost in `KafkaTemplate`. * Catch an exception on `producer.abortTransaction()` and `ex.addSuppressed(abortException)` **Cherry-pick to `3.0.x`**
- Loading branch information
1 parent
659b066
commit e36c22c
Showing
2 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters