gkhnoztrk opened a new issue, #1276:
URL: https://github.com/apache/pulsar-client-go/issues/1276

   Description
   I've encountered an issue with the Pulsar client where setting 
EnableZeroQueueConsumer: true does not produce the expected behavior. The 
client continues to perform extra reads into the buffer, which contradicts the 
purpose of this setting.
   Steps to Reproduce
   
   Configure the Pulsar client with EnableZeroQueueConsumer: true
   Observe the client's behavior during message consumption
   
   Expected Behavior
   When EnableZeroQueueConsumer is set to true, the client should not perform 
extra reads into the buffer. It should only fetch messages as they are consumed.
   Actual Behavior
   The client continues to read additional messages into the buffer, despite 
the EnableZeroQueueConsumer setting being enabled.
   Additional Information
   I've reviewed the code and I'm confident there's an issue in the 
implementation of this feature. The extra buffering occurs consistently, 
regardless of the EnableZeroQueueConsumer setting.
   Environment
   
   Pulsar Client Version: v0.13.1  
   Server : [apachepulsar/pulsar:3.3.1] (docker)
   
   Any assistance in investigating and resolving this issue would be greatly 
appreciated. Thank you for your time and attention to this matter.
   
   
![image](https://github.com/user-attachments/assets/04f5871e-4b88-440e-93d7-321902cff89e)
   


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