You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/04/26 10:45:01 UTC

[GitHub] [pulsar-client-go] lhotari opened a new issue, #766: pulsar-client-go marks the connection closed when a "producer close" or "consumer close" message is received.

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

   #### Expected behavior
   
   The connection in pulsar-client-go should not be marked closed when a "producer close" or "consumer close" message is received.
   
   Code in the broker where close consumer / close producer messages are sent:
   https://github.com/apache/pulsar/blob/91ec9d58e81fad367f04a70d37a76b53d7388089/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java#L2528-L2548
   
   These messages are sent when the broker unloads a topic / namespace bundle. This is used in Pulsar's load balancing.
   
   #### Actual behavior
   
   pulsar-client-go marks the connection closed when a "producer close" or "consumer close" message is received:
   
   https://github.com/apache/pulsar-client-go/blob/e3f625ae8da938f5d147bdddd3a2cadced69c07b/pulsar/internal/connection.go#L822-L849
   
   #### Steps to reproduce
   
   while a pulsar-client-go client is connected, unload the topic / namespace:
   ```
   pulsar-admin namespaces unload public/default
   ```


-- 
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


[GitHub] [pulsar-client-go] wolfstudy closed issue #766: pulsar-client-go marks the connection closed when a "producer close" or "consumer close" message is received.

Posted by GitBox <gi...@apache.org>.
wolfstudy closed issue #766: pulsar-client-go marks the connection closed when a "producer close" or "consumer close" message is received.
URL: https://github.com/apache/pulsar-client-go/issues/766


-- 
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


[GitHub] [pulsar-client-go] lhotari commented on issue #766: pulsar-client-go marks the connection closed when a "producer close" or "consumer close" message is received.

Posted by GitBox <gi...@apache.org>.
lhotari commented on issue #766:
URL: https://github.com/apache/pulsar-client-go/issues/766#issuecomment-1109652660

   I commented on https://github.com/apache/pulsar-client-go/pull/703#issuecomment-1109652263


-- 
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