Skip to content

fix: kafka-logger plugin sent to the same partition everytime#2305

Closed
uptree wants to merge 4 commits intoapache:masterfrom
uptree:master
Closed

fix: kafka-logger plugin sent to the same partition everytime#2305
uptree wants to merge 4 commits intoapache:masterfrom
uptree:master

Conversation

@uptree
Copy link
Contributor

@uptree uptree commented Sep 24, 2020

What this PR does / why we need it:

  1. fix: kafka-logger plugin sent to the same partition everytime
  2. random select partition_id for init kafka producer
  3. we can use "TEST 4" and "TEST 5" of kafka-logger.t test it,and number of partitions for a kafka topic >= 2.

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible?

@moonming moonming requested a review from sshniro September 24, 2020 12:03
@uptree uptree closed this Oct 30, 2020
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