Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
@@ -50,8 +50,11 @@ func (s *subscriber) run(ctx context.Context) {
return
}
s.kopts.Logger.Infof(ctx, "handle fetches")
fetches.EachPartition(func(p kgo.FetchTopicPartition) {
s.Lock()
consumers := s.consumers[p.Topic]
s.Unlock()
if consumers == nil {
The note is not visible to the blocked user.