-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication in connection string #29
Comments
The rust client on which this library is based on, does not have the credentials in the Rather, the I don't understand why the client "can automatically reconnect and login without you having to"....it's code, you write it once and if works you can run it multiple times. I don't understand the problem, do you mind elaborating the request? |
Yes, but what prevents us from using it directly? It also uses the Tcp client behind the scenes. The
Let's say you have a hostname you want iggy to connect, and you initialize a client and connect like so:
vs
When you connect this way, the client seems more fault tolerant from my observation in my Rust app. Previously, I used to get a This error caused me to need to restart my application every time this happened. I'm not sure but maybe this could be fixed at runtime by calling |
If the server IP changes continuously, this is an edge case and also a problem for many other libraries in general. I think you need to first check your configuration/topology |
It would be nice to be able to provide authentication in the connection string like the Rust client, so you do not need to manually log in or connect. This would be really helpful for me for use in Docker (because of networking changes) if the client can automatically reconnect and login without me having to.
Relevent: #24 (comment)
The text was updated successfully, but these errors were encountered: