BewareMyPower commented on issue #15704:
URL: https://github.com/apache/pulsar/issues/15704#issuecomment-1133911202

   @zbentley The common behavior between 0 and 1 receiver queue size is that 
the permits of FLOW request is 1.
   
   However, if the receiver queue size is 0, only when `receive` is called will 
the consumer send the FLOW request to broker, which means the consumer won't 
prefetch the messages.
   
   If the receiver queue size is 1, the consumer will send a FLOW request to 
broker immediately after the consumer is created successfully, which means the 
consumer will prefetch 1 message. It could affect the logic of the dispatcher 
in broker.


-- 
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]

Reply via email to