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

Unable to use selfmade Callbackhandler Classes #53

Open
fubezz opened this issue Aug 7, 2019 · 1 comment
Open

Unable to use selfmade Callbackhandler Classes #53

fubezz opened this issue Aug 7, 2019 · 1 comment

Comments

@fubezz
Copy link

fubezz commented Aug 7, 2019

I am running Kafka in a Kubernetes environment. I have implemented sasl callbackhandler for Kafka to login and verify users via Keycloak. Sadly I can't add the login handler to the ksm container, since there is no way to add the kafka property "sasl.login.callback.handler.class". Moreover I would have to extend the java classpath to add my jar file containing the callbackhandlers, which is also not possible at the moment, as far as I know. To enable these features would be awesome!

@simplesteph
Copy link
Contributor

  1. you can definitely add the sasl.login.callback.handler.class to the properties file. Just modify that file and literally add that setting. If you think it should be accessible by everyone, please do a PR
  2. you could use the Zookeeper configs instead and bypass that mechanism altogether
  3. you can definitely add classes to the classpath. Just make sure to add your jar to wherever the docker image picks the jars from.

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

No branches or pull requests

2 participants