Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting server property with underscore in the property name #344

Open
shangd opened this issue Jun 19, 2018 · 1 comment
Open

Setting server property with underscore in the property name #344

shangd opened this issue Jun 19, 2018 · 1 comment

Comments

@shangd
Copy link

shangd commented Jun 19, 2018

Hi

I want to set the broker property
listener.name.sasl_ssl.plain.sasl.jaas.config=... (note the underscore in the name)

Using the environment variable KAFKA_LISTENER_NAME_SASL_SSL_PLAIN_SASL_JAAS_CONFIG to set this won't work since it will replace all the underscores.

Is there a way to escape the underscore in the property name?

@sscaling
Copy link
Collaborator

sscaling commented Jun 19, 2018

Not that i'm aware of, as a work around you can just remap sasl_ssl to saslssl and specify the mapping in listener.security.protocol.map as per https://kafka.apache.org/documentation/#configuration (caveat: I haven't tried that, but from what I remember that is the point of the protocol map)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants