blankensteiner commented on issue #266: URL: https://github.com/apache/pulsar-dotpulsar/issues/266#issuecomment-2847027001
Hi @smbecker It's been a long time since I read the documentation for the Pulsar protocol and since I implemented the flow functionality. From what I remember, you set a prefetch count, let's say 1000, and the first time Receive is called, we tell the broker to send 1000 messages. Then, when we have read half (500) we ask for 500 more, to ensure that the consumer never has to wait for messages to be sent from the broker, which we would have to if we waited until there were no messages left in the buffer and we requested 1000 more. I'm not sure what the issue is and what you would like changed? Maybe I misread the documentation back then and we only need to send one flow command? -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org