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

[xy] Support Kafka SASL_SSL SCRAM-SHA-512 authentication. #3649

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

wangxiaoyou1993
Copy link
Member

Description

Support Kafka SASL_SSL SCRAM-SHA-512 authentication and add an option to use cafile.
Ref: https://stackoverflow.com/questions/57290708/setting-python-kafkaproducer-sasl-mechanism-property

How Has This Been Tested?

  • Tested with kafka pipeline locally
security_protocol: "SASL_SSL"
sasl_config:
  mechanism: "SCRAM-SHA-512"
  username: username
  password: password
ssl_config:
  cafile: "pemfilename.pem"

Checklist

  • The PR is tagged with proper labels (bug, enhancement, feature, documentation)
  • I have performed a self-review of my own code

cc:

@wangxiaoyou1993 wangxiaoyou1993 added the enhancement Polish or UX improvements label Oct 3, 2023
@wangxiaoyou1993 wangxiaoyou1993 merged commit d60dd18 into master Oct 3, 2023
11 checks passed
@wangxiaoyou1993 wangxiaoyou1993 deleted the xiaoyou/kafka-sasl branch October 3, 2023 08:49
pammusankolli added a commit to pammusankolli/mage-ai that referenced this pull request Oct 3, 2023
[xy] Support Kafka SASL_SSL SCRAM-SHA-512 authentication. (mage-ai#3649)
@wangxiaoyou1993 wangxiaoyou1993 mentioned this pull request Oct 3, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Polish or UX improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant