Skip to content

fix kafka-producer-performance throughput panic#1971

Merged
dnwe merged 1 commit intoIBM:masterfrom
KerryJava:master
Jun 21, 2021
Merged

fix kafka-producer-performance throughput panic#1971
dnwe merged 1 commit intoIBM:masterfrom
KerryJava:master

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