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/01 08:43:12 UTC

[GitHub] [pulsar] wenbingshen opened a new issue #13061: [BUG] Judgment criteria for reconnecting the producer

wenbingshen opened a new issue #13061:
URL: https://github.com/apache/pulsar/issues/13061


   **Describe the bug**
   Related to this issue https://github.com/apache/pulsar-client-go/issues/676
   
   https://github.com/apache/pulsar/pull/11804, this PR rewrites the equals method of the Producer, resulting in that when different   `pulsar-client-go` uses different port to reconnect, the ` old producer` cannot be removed because the `remoteAddress` will be verified by equals:
   ``` java
   if (producers.remove(producer.getProducerName(), producer)) {
   ```
   
   https://github.com/apache/pulsar/pull/12846, this pr removes `equals` and will use `hashcode` for judgment. At this time, the 
    `old producer ` cannot be removed.
   
   The server does not allow different ports to connect to the same producerName. Does it assume that the previous connection will be disconnected first, and the new connection will be established? But the current pulsar-client-go seems to have some problems that the old connection did not handle.
   
   
   
   


-- 
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] github-actions[bot] commented on issue #13061: [BUG] Judgment criteria for reconnecting the producer

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #13061:
URL: https://github.com/apache/pulsar/issues/13061#issuecomment-1051440530


   The issue had no activity for 30 days, mark with Stale label.


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