shibd commented on PR #1310:
URL: 
https://github.com/apache/pulsar-client-go/pull/1310#issuecomment-2499888281

   hi, @BewareMyPower I put our discuss on here.
   
   Before #1283, There won't be the issue mentioned in this PR because we can 
ensure that the pulled messages will never overflow `queueCh`. Previously, it 
was an **array**, and if an **entry** had batch messages, they were stored as 
an **array**.
   
   Furthermore, the `availablePermits` mechanism will ensure that the number of 
pulled entries does not exceed the size set by `pendingQueueSize`.


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