|
@ -66,7 +66,6 @@ func (sub *TopicSubscriber) onEachPartition(assigned *mq_pb.BrokerPartitionAssig |
|
|
case <-stopCh: |
|
|
case <-stopCh: |
|
|
subscribeClient.CloseSend() |
|
|
subscribeClient.CloseSend() |
|
|
return |
|
|
return |
|
|
case ack := <-partitionOffsetChan: |
|
|
|
|
|
case ack, ok := <-partitionOffsetChan: |
|
|
case ack, ok := <-partitionOffsetChan: |
|
|
if !ok { |
|
|
if !ok { |
|
|
subscribeClient.CloseSend() |
|
|
subscribeClient.CloseSend() |
|
|