Closed samar-elsayed closed 1 year ago
It's already fixed in master branch (by #452) but not released yet.
You can use password
parameter instead of placing it in rdkafka_options
.
It will be masked in the log.
I'll release it in the near future to ship it in the next major version of td-agent.
It's already fixed in master branch (by https://github.com/fluent/fluent-plugin-kafka/pull/452) but not released yet.
Sorry, I misunderstood it.
It's already released.
https://github.com/fluent/fluent-plugin-kafka/blob/6f22abb7f5c2a3f0627c997574404703dfc6c9e1/ChangeLog#L6
Please use password
parameter with v0.18.0 or later.
Describe the bug
I am using KAFKA_OPTS as a var for rdkafka options and it is working fine but the issue is I need to either :
To Reproduce
create var KAFKA_OPTS = "sasl.mechanism: SCRAM-SHA-512,security.protocol: sasl_ssl,sasl.username: user,sasl.password: pass"
and then use it in the config as shown in Your Configuration section
Expected behavior
the config shouldn't appear in the log or at least the var value will be shown as encrypted ****
Your Environment
Your Configuration
Your Error Log
Additional context
No response