Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-1168: Fix sendOffsets in local transaction
Fixes #1168 `sendOffsetsToTransaction` assumed the transaction was started by a `KafkaTransactionManager` and using `executeInTransaction` failed. Look for a local transactional producer before checking for a thread-bound transaction. **cherry-pick to all supported branches** # Conflicts: # spring-kafka/src/test/java/org/springframework/kafka/core/KafkaTemplateTransactionTests.java # Conflicts: # spring-kafka/src/test/java/org/springframework/kafka/core/KafkaTemplateTransactionTests.java
- Loading branch information
1 parent
15ab184
commit 01c9bba
Showing
2 changed files
with
30 additions
and
12 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