-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Labels
enhancementFeature requestFeature request
Description
Is your feature request related to a problem? Please describe.
It seems like there is no way to pass environment variables for kafka_configs hash in rdkafka_group input.
for example:
<source>
@type rdkafka_group
@label @APPLICATIONS
topics "#{ENV["APPLICATIONS_TOPIC"] || "application-logs"}"
format "json"
kafka_configs {
"bootstrap.servers": "#{ENV["BROKER_ADDRESS"] || "localhost:9092"}"
}
</source>
the bootstrap.servers will not parse the BROKER_ADDRESS
environment variable.
Describe the solution you'd like
This will be great if there was a way to parse those environment variables inside the kafka_configs
hash.
At the current situation, we are not able to fully use all librdkafka features since hard coded values are not possible for some of the fields.
Describe alternatives you've considered
any parsing method that will able to get dynamic fields and not hard coded values
Additional context
No response
NataliAharoni99, voltbit, kobik and DinaYakovlev
Metadata
Metadata
Assignees
Labels
enhancementFeature requestFeature request