sijie commented on pull request #8566:
URL: https://github.com/apache/pulsar/pull/8566#issuecomment-735525502


   @MaiCw4J You mentioned the following in the description of this pull request.
   
   ```
   may cause the batchReceive() method to call 
hasEnoughMessagesForBatchReceive() to determine that the conditions are met, 
but there is not actually enough data in the queue!
   ```
   
   Can you write a unit test to reproduce the issue you described in using 
batchReceive? Then you can confirm if this change fixes the issue or not.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to