python-zk / kazoo

Kazoo is a high-level Python library that makes it easier to use Apache Zookeeper.
https://kazoo.readthedocs.io
Apache License 2.0
1.3k stars 387 forks source link

User-defined authentication class cannot retry after the session expires and reconnects #602

Closed QuantumEnergyE closed 4 years ago

QuantumEnergyE commented 4 years ago

Because the scheme name of the custom authentication class is not digest, retry will not be triggered when the session expires and reconnects.

https://github.com/python-zk/kazoo/blob/34cdd60f26ff790618244450fd648b77f9f1353c/kazoo/protocol/connection.py#L726

ceache commented 4 years ago

I believe this issue was already resolved in the 2.7.0 release. Can you please confirm you do not see this issue when using the latest kazoo?