pulsar icon indicating copy to clipboard operation
pulsar copied to clipboard

We need a size limit for cache of single managedLeger

Open zhaizhibo opened this issue 1 year ago • 0 comments

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!

zhaizhibo avatar Apr 30 '24 10:04 zhaizhibo