Skip to content
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

fix kafka-producer-performance throughput panic #1971

Merged
merged 1 commit into from
Jun 21, 2021
Merged

Conversation

KerryJava
Copy link
Contributor

#1969 fix kafka-producer-performance tool panic

@KerryJava KerryJava requested a review from bai as a code owner June 20, 2021 03:10
@KerryJava KerryJava changed the title fix throughput error fix kafka-producer-performance throughput panic Jun 20, 2021
Copy link
Collaborator

@dnwe dnwe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks — the fix looks good to me. It's not obvious what the original code intended — it seemed to attempt to duplicate the message (from the original generated set) throughput times before sleeping which is unusual. I think the new version which just keeps adding unique messages from the set and pausing whenever throughput in total have been put is more reasonable

@dnwe dnwe merged commit 7d06a47 into IBM:master Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants