-
Notifications
You must be signed in to change notification settings - Fork 853
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
Is it possible to connect to a secured Kafka cluster (SASL) #9
Comments
The fork that Kafdrop 3.x originated from had added SASL support. Please take a look at the author's description on how to use that feature. |
Got it, thank you for your quick reply. I will refer that page. |
@shaaimin would you mind posting back on this thread to confirm that you got it to work. I've never tried the SASL feature; would be keen to know if it works as advertised. |
@ekoutanov sorry for late reply. sure, sasl_ssl works for me. i created file(kaas_stg_jaas.conf) for authentication. user.dir is the folder path which kaas_stg_jaas.conf was stored. |
@ekoutanov
} after add those setting on my local, DisconnectException was resolved. another issue is host and port in BrokerVO which was got from kafkaMonitor.getBrokers() are null. when i used command bin/zookeeper-shell.sh localhost:2181 <<< "get /brokers/ids/1", also i found a similar case as below. |
@ekoutanov that's great, i had tried the new approach using kafka.properties, it works well. |
@shaaimin Could you please provide an example of all the necessary configuration, you've done to make it work? |
@adivardhan sure, the following is the configuration of "kafka.properties" on my side. and i used the following to run. |
Thanks. Seems you're not using SSL for encryption. |
Is it possible to connect to a secured Kafka cluster (SASL) with client authentication?
If can, could you please share the configuration sample?
The text was updated successfully, but these errors were encountered: