kafka
kafka copied to clipboard
Add leader count checks to StripedReplicaPlacerTest
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)