We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34c98ac commit 83504cfCopy full SHA for 83504cf
workers.go
@@ -147,6 +147,7 @@ func (wm *WorkerManager) Stop() chan bool {
147
148
func (wm *WorkerManager) startBatch(batch []*Message) {
149
inLock(&wm.stopLock, func() {
150
+ wm.currentBatch = newTaskBatch()
151
wm.batchOrder = make([]TaskId, 0)
152
for _, message := range batch {
153
topicPartition := TopicAndPartition{message.Topic, message.Partition}
0 commit comments