forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Java Client] Use failPendingMessages to ensure proper cleanup (apach…
…e#12259) * [Java Client] Use failPendingMessages to ensure proper cleanup * Update method name from code review comments * Update pulsar-broker/src/test/java/org/apache/pulsar/client/impl/ProducerCloseTest.java Co-authored-by: Matteo Merli <[email protected]> * Move setState into sync block; consolidate client.cleanupProducer call * Move cleanupProducer into sync block * Make method closeAndClearPendingMessages synchronized Co-authored-by: Matteo Merli <[email protected]> (cherry picked from commit 2ad0e5a) (cherry picked from commit 2e50783)
- Loading branch information
1 parent
18a4ae3
commit 8c47458
Showing
2 changed files
with
34 additions
and
21 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