mattisonchao opened a new pull request #14447:
URL: https://github.com/apache/pulsar/pull/14447
### Motivation
Optimize ``RawReader#create`` when using ``Compactor`` to avoid calling more
seek requests to change the position.
### Modifications
- Add config
``consumerConfiguration.setSubscriptionInitialPosition(SubscriptionInitialPosition.Earliest);``
to ``RawReaderImp``
- Remove ``x.seekAsync(MessageId.earliest)`` when create ``RawReader``.
### Verifying this change
- [x] Make sure that the change passes the CI checks.
### Documentation
- [x] `no-need-doc`
--
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]