fix consume/killconsume #157

Open
devstigneev wants to merge 7 commits from devstigneev/micro-broker-kgo:v4_fix into v4
Showing only changes of commit 553f729b25 - Show all commits

View File

@@ -121,7 +121,7 @@ func (s *Subscriber) poll(ctx context.Context) {
tps := tp{t, p}
s.mu.Lock()
c := s.consumers[tps]
s.mu.Unlock()
s.mu.RUnlock()
if c != nil {
c.recs <- newErrorFetchTopicPartition(err, t, p)
}