[Feature Request] Allow ;
as a character in TB_KAFKA_ADMIN_CONFIG
#177
Labels
Enhancement
New feature or request
;
as a character in TB_KAFKA_ADMIN_CONFIG
#177
Is your feature request related to a problem? Please describe.
We would like to integrate TBMQ with our own Kafka setup. Our Kafka brokers require SASL authentication, which means we have to set i.e.
sasl.jaas.config
viaTB_KAFKA_ADMIN_CONFIG
. The value ofsasl.jaas.config
requires a semicolon at the end of the value to work (e.g.org.apache.kafka.common.security.scram.ScramLoginModule required username="admin" password="admin-secret";
). Since theTB_KAFKA_ADMIN_CONFIG
values are split on semicolon, we cannot successfully pass this environment variable.Describe the solution you'd like
Allow semicolons within
TB_KAFKA_ADMIN_CONFIG
to be escaped (e.g. with a\
), so that semicolons can be used in the value without being used to split.Some examples on how
TB_KAFKA_ADMIN_CONFIG
should be parsed:Simple example
will be interpreted by the Kafka consumer as
Real life example
will be interpreted by the Kafka consumer as
Describe alternatives you've considered
Additional context
See https://docs.confluent.io/platform/7.0/kafka/authentication_sasl/index.html#client-jaas-configurations for more information on the JAAS configuration.
The text was updated successfully, but these errors were encountered: