Skip to content

Commit

Permalink
[DP-1767] - topicctl get action partitions-status
Browse files Browse the repository at this point in the history
  • Loading branch information
ssingudasu committed Sep 19, 2023
1 parent ecd6c12 commit 961f035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -770,8 +770,8 @@ func getPartitionsStatus(
// NOTE: partition is
// 1. offline - if ListenerNotFound Error observed for leader partition
// 2. underreplicated - if number of isrs are lesser than the replicas
// 3. preferred leader - if the leader partition broker id is similar to first valid Replicas broker id
// 4. not preferred leader - if the leader partitions broker id is not similar to first valid Replicas broker id
// 3. preferred leader - if the leader partition broker id is similar to first available Replicas broker id
// 4. not preferred leader - if the leader partitions broker id is not similar to first available Replicas broker id
func GetPartitionStatuses(partition kafka.Partition) []admin.PartitionStatus {
//
// NOTE:
Expand Down

0 comments on commit 961f035

Please sign in to comment.