From 64d20443e9d83669a7f3558e557a9a756bee6464 Mon Sep 17 00:00:00 2001 From: Maksadbek Date: Tue, 10 Oct 2023 15:54:46 +0200 Subject: [PATCH] fix(docs): correct topic name in rebalancing strategy example (#2657) Signed-off-by: Maksadbek --- balance_strategy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/balance_strategy.go b/balance_strategy.go index 0b4319384..30d41779c 100644 --- a/balance_strategy.go +++ b/balance_strategy.go @@ -65,7 +65,7 @@ type BalanceStrategy interface { // Example with two topics T1 and T2 with six partitions each (0..5) and two members (M1, M2): // // M1: {T1: [0, 1, 2], T2: [0, 1, 2]} -// M2: {T2: [3, 4, 5], T2: [3, 4, 5]} +// M2: {T1: [3, 4, 5], T2: [3, 4, 5]} func NewBalanceStrategyRange() BalanceStrategy { return &balanceStrategy{ name: RangeBalanceStrategyName,