|
@ -24,6 +24,7 @@ func NewConsumerGroup(t *mq_pb.Topic, reblanceSeconds int32, filerClientAccessor |
|
|
topic: topic.FromPbTopic(t), |
|
|
topic: topic.FromPbTopic(t), |
|
|
ConsumerGroupInstances: cmap.New[*ConsumerGroupInstance](), |
|
|
ConsumerGroupInstances: cmap.New[*ConsumerGroupInstance](), |
|
|
filerClientAccessor: filerClientAccessor, |
|
|
filerClientAccessor: filerClientAccessor, |
|
|
|
|
|
stopCh: make(chan struct{}), |
|
|
} |
|
|
} |
|
|
if conf, err := cg.filerClientAccessor.ReadTopicConfFromFiler(cg.topic); err == nil { |
|
|
if conf, err := cg.filerClientAccessor.ReadTopicConfFromFiler(cg.topic); err == nil { |
|
|
var partitions []topic.Partition |
|
|
var partitions []topic.Partition |
|
|