Skip to content
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

kafka: allow disabling kerberos FAST in sarama client #6189

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jkyros
Copy link
Contributor

@jkyros jkyros commented Sep 26, 2024

This:

  • adds a kerberosDisableFAST field to the kafka scaler metadata, which can be used to disable sarama's/gokrb5's FAST negotiation for kerberos connections
  • populates said field from a kerberosDisableFAST field in the AuthConfig

Which will let a user disable FAST as part of their Kerberos configuration.

I'm not attached to any of the naming here, I just want the plumbing, right now we just can't manipulate this at all. 😄

Checklist

Fixes #6188

Our sarama client has kerberos FAST negotiation turned on by default,
but there are KDCs that can't handle FAST negotiation and will fail.
There is an option to configure this on the sarama client, but we didn't
expose it anywhere, so users couldn't get to it.

This just adds an additional auth parameter to AuthConfig to expose that
configuration option so users who need to shut off FAST are able to do
so.

Signed-off-by: John Kyros <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kafka Scaler: Allow disabling Kerberos FAST negotiation to allow use with KDCs that don't support FAST
1 participant