|
@@ -24,7 +24,7 @@ func (p BalanceStrategyPlan) Add(memberID, topic string, partitions ...int32) {
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
type BalanceStrategy interface {
|
|
|
|
|
|
Name() string
|
|
@@ -78,7 +78,7 @@ type balanceStrategy struct {
|
|
|
|
|
|
func (s *balanceStrategy) Name() string { return s.name }
|
|
|
|
|
|
-
|
|
|
+
|
|
|
func (s *balanceStrategy) Plan(members map[string]ConsumerGroupMemberMetadata, topics map[string][]int32) (BalanceStrategyPlan, error) {
|
|
|
|
|
|
mbt := make(map[string][]string)
|