kafka icon indicating copy to clipboard operation
kafka copied to clipboard

Add leader count checks to StripedReplicaPlacerTest

Open ahuang98 opened this issue 3 years ago • 0 comments

Opened from https://github.com/apache/kafka/pull/12479 when converting RackAwareAutoTopicCreationTest.scala showed that even leader distribution is not guaranteed by StripedReplicaPlacer. These tests were added mainly to demonstrate this behavior, especially at low partition counts.

Committer Checklist (excluded from commit message)

  • [ ] Verify design and implementation
  • [ ] Verify test coverage and CI build status
  • [ ] Verify documentation (including upgrade notes)

ahuang98 avatar Aug 17 '22 18:08 ahuang98