zbentley commented on issue #15703:
URL: https://github.com/apache/pulsar/issues/15703#issuecomment-1140498626

   @merlimat that makes great sense, thanks. So "receiver queue size" could be 
better thought of as "extra messages to fetch (if available) whenever `receive` 
is called"?
   
   If so I can totally work with that; it would be great if that were 
documented more clearly. Documentation indicates that Pulsar uses a pull-based 
protocol, but doesn't go into detail about when pulls happen and how they work. 
It'd be great if the documentation for each client linked to a wiki article 
that explained:
   - `receive` is an RPC, rather than something draining a local buffer with a 
background puller.
   - How `message_listener` calls receive.
   - How receiver queue sizes interact with those calls.
   
   I can take a stab at writing such an article if you'd like.


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