pulsar-client-go
pulsar-client-go copied to clipboard
Ack/Nack use closed consumer
Expected behavior
1:use Client to Subscribe a topic create an consumer-1 2:Receive message use consumer-1 3:then in some case consumer-1 is Closed. 4:use the same Client to create another consumer-2 to Ack/Nack the message
expect consumer-2 to Ack/Nack the message
Actual behavior
the Ack/Nack will use consumer-1 which is Closed before.


Tell us what happens instead
Steps to reproduce
1:use Client to Subscribe a topic create an consumer-1 2:Receive message use consumer-1 3:then in some case consumer-1 is Closed. 4:use the same Client to create another consumer-2 to Ack/Nack the message
System configuration
Pulsar version: x.y
I will give an pr to fix this issue.
@billowqiu Do you want to contribute the fix back to apache/pulsar-client-go?
@billowqiu Do you want to contribute the fix back to apache/pulsar-client-go?
I have submitted a pr in this link: https://github.com/apache/pulsar-client-go/pull/852