You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/09/23 11:23:58 UTC

[GitHub] [pulsar] andrasbeni opened a new issue, #17823: [Bug] PerformanceReader needs one more message than numMessages

andrasbeni opened a new issue, #17823:
URL: https://github.com/apache/pulsar/issues/17823

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Version
   
   master; hash: 08df28a616
   
   ### Minimal reproduce step
   
   Start `bin/pulsar-perf read -u pulsar://localhost:6650 -n 100 topic`.
   Run `bin/pulsar-perf produce -u pulsar://localhost:6650 -m 100 topic` in parallel.
   
   ### What did you expect to see?
   
   `pulsar-perf read` quits and prints its statistics soon after the producer process finishes.
   
   ### What did you see instead?
   
   `pulsar-perf read` indefinitely waits for the next message
   
   ### Anything else?
   
   The ReaderListener increments the counter after checking the limit. Changing the order of the two solves the problem.
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
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-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] codelipenghui closed issue #17823: [Bug] PerformanceReader needs one more message than numMessages

Posted by GitBox <gi...@apache.org>.
codelipenghui closed issue #17823: [Bug] PerformanceReader needs one more message than numMessages
URL: https://github.com/apache/pulsar/issues/17823


-- 
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-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] mattisonchao commented on issue #17823: [Bug] PerformanceReader needs one more message than numMessages

Posted by GitBox <gi...@apache.org>.
mattisonchao commented on issue #17823:
URL: https://github.com/apache/pulsar/issues/17823#issuecomment-1257352887

   Cool and thanks!


-- 
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-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org