forked from spring-projects/spring-kafka
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spring-projectsGH-2744: Fix Possible Deadlock in DKPF
Resolves spring-projects#2744 Possible deadlock if `removeProducer` is called on the producer network thread. Move resetting the global shared producer to the creation logic. Also ensure the delegate of any thread-bound producers are closed. Add try/catch around the delegate close. **cherry-pick to 2.9.x**
- Loading branch information
1 parent
b5506ee
commit 44a9a46
Showing
2 changed files
with
19 additions
and
11 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