You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "gunli (via GitHub)" <gi...@apache.org> on 2023/11/21 02:13:15 UTC

[I] [Bug][Consumer] Should close the consumer when TopicNotFound [pulsar-client-go]

gunli opened a new issue, #1135:
URL: https://github.com/apache/pulsar-client-go/issues/1135

   #### Expected behavior
   
   We should close the consumer when TopicNotFound.
   
   According to the JAVA client, when TopicNotFound, the consumer is set to state Failed and close.
   
   see:
   https://github.com/apache/pulsar/blob/master/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java#L915-L917
   
   #### Actual behavior
   
   Currently, we just stop reconnecting, see:
   https://github.com/apache/pulsar-client-go/blob/master/pulsar/consumer_partition.go#L1662-L1666
   
   #### Steps to reproduce
   
   How can we reproduce the issue
   
   #### System configuration
   **Pulsar version**: x.y
   


-- 
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: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Consumer] Should close the consumer when TopicNotFound [pulsar-client-go]

Posted by "gunli (via GitHub)" <gi...@apache.org>.
gunli commented on issue #1135:
URL: https://github.com/apache/pulsar-client-go/issues/1135#issuecomment-1820103484

   @RobertIndie 


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org