pulsar
pulsar copied to clipboard
We need a size limit for cache of single managedLeger
Search before asking
- [X] I searched in the issues and found nothing similar.
Motivation
When a topic produce too much messages, the caches of broker will be full with this topic. In this case, the fetch request of other consumers cannot hit the cache and they only can read entries by bookeeper.
Solution
Add a size limit for cache of single managedLedger.
Alternatives
~
Anything else?
~
Are you willing to submit a PR?
- [X] I'm willing to submit a PR!