poorbarcode opened a new pull request, #16727:
URL: https://github.com/apache/pulsar/pull/16727
Master Issue: #15370
### Motivation
see #15370
### Modifications
In the original design of the transaction buffered writer, we use a
scheduled executor to execute timed tasks. There are no scheduled executors
that match this scenario, and It's a little expensive to have a new scheduled
executor with 1 millis tick time, we should reuse the
`PulsarService.brokerClientSharedTimer` instead to create a new scheduled
executor.
So we should make transaction buffered writer supports `io.netty.Timer`, to
ensure that buffered writer can still use Scheduled executors in the future, we
designed to support both.
### Documentation
- [ ] `doc-required`
- [x] `doc-not-needed`
- [ ] `doc`
- [ ] `doc-complete`
--
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]