-
Notifications
You must be signed in to change notification settings - Fork 23
kafka: add support for SASL authentication #183
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds support for SASL (Simple Authentication and Security Layer) authentication to the Kafka sender in journalpump, enabling authentication with Kafka clusters that require SASL credentials.
Changes:
- Added support for explicit
security_protocolconfiguration with SASL_PLAINTEXT and SASL_SSL options - Added SASL authentication configuration parameters (mechanism, username, password)
- Updated SSL configuration to work with both SSL and SASL_SSL protocols
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| journalpump/senders/kafka_sender.py | Refactored security protocol configuration to support SASL authentication methods and added SASL credential configuration |
| README.rst | Added documentation for the new security_protocol, sasl_mechanism, sasl_plain_username, and sasl_plain_password configuration parameters |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
1cb0b2f to
4e0a1e6
Compare
jclarysse
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
4e0a1e6 to
0f3a7c8
Compare
keejon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
No description provided.