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 2021/12/02 05:39:43 UTC
[GitHub] [pulsar-client-go] wenbingshen edited a comment on issue #676: [BUG] When reconnecting to the server, the old connection is not closed
wenbingshen edited a comment on issue #676:
URL: https://github.com/apache/pulsar-client-go/issues/676#issuecomment-984309990
Regarding another producerName: pulsar_s1-8-501 has 5 timelines on the broker log side:
1. `pulsar_s1-8-501` with connection `ab.cde.138.8:16631` is sending data normally

2. The broker receives the request to add a producer from the new connection ` ab.cde.138.8:48277 ` for `pulsar_s1-8-501` , and because the `channel id` of the producer is inconsistent, the old producer cannot be overwritten.




3. `pulsar_s1-8-501` is connected to `ab.cde.138.8:16631` and continues to send data normally

4. Now the server has triggered `channelInactive` and started to close the connection `ab.cde.138.8:16631` related state, including producer information.


5. Finally, the pulsar broker again receives the new connection `ab.cde.138.8:48277` for `pulsar_s1-8-501` request to add Producer, and successfully adds the Producer.

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