Yelp / kafka-utils

Apache License 2.0
313 stars 127 forks source link

KAFKA-32352: Add replication factor mismatch topics command #275

Closed hcet closed 3 years ago

hcet commented 3 years ago

Problem

Right now there is no way of finding which topic partitions have number of replicas less than the configured replication factor of the topic.

Solution

We add a new command to show the user which topics has replication factor mismatch among its partitions.

rf-mismatch

Verification

tests pass

Release Plan

minor release

hcet commented 3 years ago

closing this since we already have this functionality in another command https://github.com/Yelp/kafka-utils/blob/243cab3031f8af41ab4a8cfdce391f5377eba1c4/kafka_utils/kafka_check/commands/replication_factor.py#L29