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:49:57 UTC

[GitHub] [pulsar] andrasbeni opened a new issue, #17824: [Bug] PerformanceConsumer and PerformanceReader run with -time quit only after another message

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

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Version
   
   master; hash: 8e855bc694b97cc0bac3861e3c24d63d7ef883f2
   
   ### Minimal reproduce step
   
   Start `bin/pulsar-perf read -u pulsar://localhost:6650 -time 15 topic`
   Run ` bin/pulsar-perf produce -u pulsar://localhost:6650 -m 10 topic` in parallel.
   
   ### What did you expect to see?
   
   `pulsar-perf read` quits after 15 seconds.
   
   ### What did you see instead?
   
   `pulsar-perf read` continued waiting for the next message
   
   ### Anything else?
   
   The time limit is only checked in the MessageListener / ReaderListener, so if no new message arrives after the time limit, the consumer/reader waits indefinitely.
   
   ### Are you willing to submit a PR?
   
   - [ ] 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] labuladong commented on issue #17824: [Bug] PerformanceConsumer and PerformanceReader run with -time quit only after another message

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

   @mattisonchao Could you please assign this issue to me? I will fix it.


-- 
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 #17824: [Bug] PerformanceConsumer and PerformanceReader run with -time quit only after another message

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

   @andrasbeni I see, thanks. I marked this PR with the `help-wanted` label.


-- 
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] andrasbeni commented on issue #17824: [Bug] PerformanceConsumer and PerformanceReader run with -time quit only after another message

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

   @mattisonchao, I don't think I have time this week, so if anybody else wants to take it in the meantime, I'm fine. But I might come back to fix this later.


-- 
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] github-actions[bot] commented on issue #17824: [Bug] PerformanceConsumer and PerformanceReader run with -time quit only after another message

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #17824:
URL: https://github.com/apache/pulsar/issues/17824#issuecomment-1294357988

   The issue had no activity for 30 days, mark with Stale label.


-- 
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 #17824: [Bug] PerformanceConsumer and PerformanceReader run with -time quit only after another message

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

   RC: In the current implementation, we put the time check in the listener. If we can't receive any message, the `PerfClientUtils` will never exit. I think.
   
   Would you like to fix it? @andrasbeni 


-- 
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 #17824: [Bug] PerformanceConsumer and PerformanceReader run with -time quit only after another message

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

   @labuladong 
   Cool, and thanks a lot for your contribution.


-- 
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] codelipenghui closed issue #17824: [Bug] PerformanceConsumer and PerformanceReader run with -time quit only after another message

Posted by GitBox <gi...@apache.org>.
codelipenghui closed issue #17824: [Bug] PerformanceConsumer and PerformanceReader run with -time quit only after another message  
URL: https://github.com/apache/pulsar/issues/17824


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