You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/05/28 00:24:01 UTC

[GitHub] [pulsar] merlimat opened a new pull request #7060: Allow managed cursor to specify max read batch in bytes

merlimat opened a new pull request #7060:
URL: https://github.com/apache/pulsar/pull/7060


   ### Motivation
   
   In order to have a predictable memory footprint in brokers, we need to cap the amount of bytes that we read in single range read request from BK. 
   
   Since BK doesn't take a max bytes argument, we need instead to use a best-effort approach and adjust the max number of entries based on the average entry (not message) size on the topic. 
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui merged pull request #7060: Allow managed cursor to specify max read batch in bytes

Posted by GitBox <gi...@apache.org>.
codelipenghui merged pull request #7060:
URL: https://github.com/apache/pulsar/pull/7060


   


----------------------------------------------------------------
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:
users@infra.apache.org