You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] PerformanceConsumer and PerformanceReader run with -time quit only after another message #17824
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.
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.
@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.
Activity
mattisonchao commentedon Sep 26, 2022
RC: In the current implementation, we put the time check in the listener. If we can't receive any message, the
PerfClientUtilswill never exit I think.Would you like to fix it? @andrasbeni
andrasbeni commentedon Sep 26, 2022
@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.
mattisonchao commentedon Sep 27, 2022
@andrasbeni I see, thanks. I marked this PR with the
help-wantedlabel.labuladong commentedon Sep 27, 2022
@mattisonchao Could you please assign this issue to me? I will fix it.
mattisonchao commentedon Sep 27, 2022
@labuladong
Cool, and thanks a lot for your contribution.
github-actions commentedon Oct 28, 2022
The issue had no activity for 30 days, mark with Stale label.