lhotari opened a new pull request #10199:
URL: https://github.com/apache/pulsar/pull/10199
### Motivation
Broker shutdown isn't currently graceful although the intention for it is to
be graceful.
Another problem in tests is that broker shutdown doesn't shutdown
synchronously.
These 2 problems are addressed in this PR.
### Modifications
- Goal of changes: shutdown Broker gracefully, but forcefully after
brokerShutdownTimeoutMs
- wait for event loops getting closed before continuing to close other
services in broker shutdown
- configure event loop shutdown parameters since the default shutdown
timeout is 15 seconds after a 2 second idle time.
- close executor services forcefully if the broker shutdown times out
- use shutdown timeout of 100 milliseconds in tests
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]