-
Notifications
You must be signed in to change notification settings - Fork 207
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 source: support SASL/SCRAM mechanisms #4241
Comments
@franky-m , This is a great idea. Would you be able to contribute a PR to help with this? We could give you some pointers in the code. |
Hi could you give me the pointers you mentioned? I would try to implement the SASL/SCRAM support myself and if I succeed I would open a PR |
+1 |
Hi @dlvenable! Did you have time to collect the pointers you mentioned? |
Yes, I have some references. First, I think that SASL/SCRAM is different from SASL/PLAIN. So the configuration should probably be a little different in the YAML. It should have the following structure instead.
You can see where we add the current configuraiton in this block: Lines 21 to 24 in 64445fa
You can add something like the following below there to add the
Here is code where we set the Lines 120 to 132 in af7d1b5
And this is the code where we call it. Lines 341 to 342 in af7d1b5
You could add a new condition that would look somewhat like:
|
@franky-m , We did make some changes to support dynamically updating the password if it changes in the underlying source (e.g. AWS Secrets Manager). It isn't necessary to have that implemented, but would be nice. @chenqi0805 , Can you provide any guidance on how that would be implemented? |
Is your feature request related to a problem? Please describe.
Currently, Kafka source only supports SASL/PLAIN authentication mechanism, but apparently no SASL/SCRAM-SHA-256 and SASL/SCRAM-SHA-512.
Describe the solution you'd like
Extend Data Prepper’s authentication options to include mechanisms such as SCRAM-SHA-512.
Example:
Additional context
Many Kafka deployments rely on SCRAM mechanisms for improved security. Users who require SCRAM-SHA-512 authentication need this feature to seamlessly integrate Data Prepper into their existing Kafka infrastructure.
The text was updated successfully, but these errors were encountered: