Skip to content

out_rdkafka2: Auto-configure SASL PLAIN when username and password are set#547

Merged
kenhys merged 1 commit intofluent:masterfrom
Watson1978:sasl-plain
Mar 4, 2026
Merged

out_rdkafka2: Auto-configure SASL PLAIN when username and password are set#547
kenhys merged 1 commit intofluent:masterfrom
Watson1978:sasl-plain

Conversation

@Watson1978
Copy link
Contributor

@Watson1978 Watson1978 commented Mar 3, 2026

Previously, users had to manually specify security.protocol and sasl.mechanisms in rdkafka_options
even when the username and password were provided as top-level parameters.
This caused confusion.

This commit automatically infers SASL PLAIN authentication if both @username and @password are provided.

Resolves #527

…e set

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
@Watson1978 Watson1978 marked this pull request as ready for review March 4, 2026 02:25
@Watson1978 Watson1978 requested a review from kenhys March 4, 2026 02:26
Copy link
Contributor

@kenhys kenhys left a comment

Choose a reason for hiding this comment

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

LGTM.

@kenhys kenhys merged commit e86a2f0 into fluent:master Mar 4, 2026
26 checks passed
@Watson1978
Copy link
Contributor Author

Thanks.

@Watson1978 Watson1978 deleted the sasl-plain branch March 4, 2026 03: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.

@username and @password are not present as config_param

2 participants