billowqiu commented on code in PR #772:
URL: https://github.com/apache/pulsar-client-go/pull/772#discussion_r866467199


##########
pulsar/consumer_partition.go:
##########
@@ -477,6 +490,10 @@ func (pc *partitionConsumer) clearMessageChannels() {
 }
 
 func (pc *partitionConsumer) internalAck(req *ackRequest) {
+       if state := pc.getConsumerState(); state == consumerClosed || state == 
consumerClosing {

Review Comment:
   这里判断已经卡住了,要在外面Ack接口地方判断



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to