xxxxpenny commented on issue #9477: URL: https://github.com/apache/pulsar/issues/9477#issuecomment-773294549
If you always run the consumer and use the API to force unsubscribe, the consumer will resubscribe. Maybe this is the reason for this problem? This problem is reproduced using the python client This is python consumer log ``` 2021-02-04 21:12:53.678 INFO [0x70000ae31000] ConsumerImpl:864 | Broker notification of Closed consumer: 0 2021-02-04 21:12:53.678 INFO [0x70000ae31000] HandlerBase:131 | [persistent://public/default/my-topic, my-sub, 0] Schedule reconnection in 0.1 s 2021-02-04 21:12:53.782 INFO [0x70000ae31000] HandlerBase:54 | [persistent://public/default/my-topic, my-sub, 0] Getting connection from pool 2021-02-04 21:12:53.843 INFO [0x70000ae31000] ConsumerImpl:214 | [persistent://public/default/my-topic, my-sub, 0] Created consumer on broker [[::1]:65521 -> [::1]:6650] ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
