-
Notifications
You must be signed in to change notification settings - Fork 873
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
Confluent Kafka SetSaslCredentials is not working as expected #2306
Comments
` Console.WriteLine("Hello, World!"); var producer = producerBuilder
producer.SetSaslCredentials("hello", "hello"); producer.SetSaslCredentials(apiKey, secret); producer.SetSaslCredentials("hello", "hello"); for (int i = 0; i < 1; i++) //This should not working as the creds are set to hello which are not right |
Currently auth is only required when connecting to a broker. Once a connection is established, changing the credentials afterward to something incorrect doesn't cause any issue as long as the connection is intact (Connections are expected to be persisted) Depending on where you are running the broker, you can check the broker property "connections.max.reauth.ms" which mandates reauthentication of successful connections within this duration. |
Description
I am trying to use the new enhancement "SetSaslCredentials" and I think it's not working as expected
How to reproduce
Checklist
Please provide the following information:
The text was updated successfully, but these errors were encountered: