fix: change consumer group receive messages avoid kafka consumer group always rebalanced. (#1942)

This commit is contained in:
OpenIM-Gordon
2024-02-27 16:44:51 +08:00
committed by GitHub
parent 6c4334b730
commit 8e6c1d74c7
4 changed files with 10 additions and 20 deletions
@@ -438,6 +438,7 @@ func (och *OnlineHistoryRedisConsumerHandler) ConsumeClaim(
wg = sync.WaitGroup{}
running = new(atomic.Bool)
)
running.Store(true)
wg.Add(1)
go func() {