JooHyukKim opened a new pull request, #20709:
URL: https://github.com/apache/pulsar/pull/20709

   Fixes : #20617
   
   ### Motivation
   
   Currently, clients' shutdown API does not behave consistently in sense that 
asynchronicity is not handled explicitly. So issue #20617 happens.
   
   This PR will allow clients know that shutdown is actually triggered.
   
   ### Modifications
   
   - Synchronize call to `POST /shutdown` on client side
   - Asynchronize explicitly `pulsar().closeAsync()` invocation
   - 
   ### Verifying this change
   
   - [x] Make sure that the change passes the CI checks.
   
   ### Does this pull request potentially affect one of the following parts:
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   *If the box was checked, please highlight the changes*
   
   - [ ] Dependencies (add or upgrade a dependency)
   - [ ] The public API
   - [ ] The schema
   - [ ] The default values of configurations
   - [x] The threading model
   - [ ] The binary protocol
   - [ ] The REST endpoints
   - [ ] The admin CLI options
   - [ ] The metrics
   - [ ] Anything that affects deployment
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. -->
   - [x] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->
   
   ### Matching PR in forked repository
   
   PR in forked repository: https://github.com/JooHyukKim/pulsar/pull/13
   
   ### Note
   
   Here is [link to the original 
PR](https://github.com/apache/pulsar/pull/20651), that ended up in messed up 
state wrt merge.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to