-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BatchReceivePolicy.maxNumMessages not working #259
Comments
Hi! BatchReceiveAsync is actually covered by a number of integration tests and I have never seen it failing. Can you please create an additional failing Integration test in PR so it would be possible to identify an issue and fix it. |
I am unable to push the branch due to insufficient permissions. |
It's probably your first PR :) You fork the repository, do you commit there and then create a PR from your repository to this one |
Thank you for your explanation. |
#260 - I think you updated the right test, however the test didn't fail |
If you know some specific failing conditions like more threads, more messages or anything else, I'd recommend to create a separate test rather than updating existing one |
Currently, I am not aware of any additional triggering conditions, and I am not proficient in using F#. If I find any further triggering conditions later, I will report back. It has been observed that in the .Net 8.0 C# environment, the data length returned by BatchReceiveAsync is equal to ReceiveQueueSize, rather than the maxNumMessages defined in BatchReceivePolicy. Pulsar-broker image: apachepulsar/pulsar-all:2.10.2 |
Dear Author,
I am currently utilizing the BatchReceiveAsync method in my project, and I've encountered an issue where the number of messages received exceeds the limit set by BatchReceivePolicy.maxNumMessages. Despite configuring the BatchReceivePolicy to limit the number of messages per batch, the method occasionally returns more messages than specified.
The text was updated successfully, but these errors were encountered: