MarvinCai opened a new pull request #9056:
URL: https://github.com/apache/pulsar/pull/9056
Related to #3804
### Motivation
Trying to streamline the dispatcher's read requests to manager ledger
instead of micro batch.
### Modifications
Created a StreamingEntryReader that can streamline read request to managed
ledger.
Created StreamingDispatcher interface with necessary method to interact with
StreamingEntryReader.
Created PersistentStreamingDispatcherSingleActive/MultipleConsumer that make
use of StreamingEntryReader to read entries from managed ledger.
Add config to use streaming dispatcher.
### Verifying this change
- [ ] Make sure that the change passes the CI checks.
*(Please pick either of the following options)*
This change added tests and can be verified as follows:
Add unit tests.
### Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API: no
- The schema: no
- The default values of configurations: no
- The wire protocol: no
- The rest endpoints: no
- The admin cli options: no
- Anything that affects deployment: no
### Documentation
- Does this pull request introduce a new feature? yes
----------------------------------------------------------------
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]