Skip to content

Conversation

@tvainika
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a 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_protocol configuration 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.

@tvainika tvainika force-pushed the kafka-sender-sasl-auth branch from 1cb0b2f to 4e0a1e6 Compare January 12, 2026 09:58
Copy link
Contributor

@jclarysse jclarysse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@tvainika tvainika force-pushed the kafka-sender-sasl-auth branch from 4e0a1e6 to 0f3a7c8 Compare January 12, 2026 10:10
Copy link
Contributor

@keejon keejon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@keejon keejon merged commit 0d0a302 into master Jan 12, 2026
4 checks passed
@keejon keejon deleted the kafka-sender-sasl-auth branch January 12, 2026 12:24
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.

4 participants