eolivelli opened a new pull request #8488: URL: https://github.com/apache/pulsar/pull/8488
### Motivation While running pulsar-broker tests I noticed that lots of threads named pulsar-transaction-buffer-client-timer-xxx are summing up, slowing consuming all of the resources of the host machine. This change will be particularly helpful for CI and for downstream applications that start a PulsarBroken in unit tests. It is not a real problem in production as the server process is destroyed together with all of the internal threads. ### Modifications Add "close" method to all relevant interfaces in order to allow PulsarService to shutdown the TransactionBufferHandlerImpl instance and the HashedWheelTimer inside. ### Verifying this change This change is a trivial rework / code cleanup without any test coverage. ---------------------------------------------------------------- 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]
