HomeAdvisor / Kafdrop

Kafka UI and Monitoring Tool
Apache License 2.0
399 stars 163 forks source link

How do you connect to securised cluster? #27

Closed satare closed 5 years ago

satare commented 6 years ago

Hi everyone,

First of all : Thanks for this Nice tool !

I have juste one question : I connect to my zookeeper without any problem (i reach my number of topics, for example) but i dont know how to connect to my kafka brokers, which are securised.

In my others applications i connect via a jaas_client file (kafka-manager, for example)

I tried to launch it with : java $HEAP_ARGS -jar /app/kafdrop*jar --zookeeper.connect=zookeeper:2181 -Djava.security.auth.login.config=/app/kafka_client_jaas.conf but with no success ...

Any help is welcome !

Have a goodday

bthodla commented 5 years ago

I have the same question - how do you use KafDrop to connect to secured Kafka cluster?

solarmicrobe commented 5 years ago

Looks like #30 needs to be merged. @dhayha @lcary (you were just the two most recent in the commits on master), any idea when we might get an "official" release with that PR merged? My company is also interested as we're kerberizing now.

dhayha commented 5 years ago

Unfortunately, #30 appears to have merge conflicts. An initial glance says they're not trivial to resolve.

satendra-sahu commented 5 years ago

@satare as specified in the description jaas.conf needs to be passed. It has two sections namely KafkaClient(its being used to authenticate kafka client with broker) and Client(its being used to authenticate and connect to zookeeper). The contents of JAAS may change depending upon the authentication protocol being used in Kafka Cluster.

@dhayha I have resolved the merge conflict.

bj9306 commented 5 years ago

so is this functionality available now?

dishawadhwa commented 5 years ago

We are looking to integrate kafdrop with our secure kafka cluster. I will re-iterate

@satare as specified in the description jaas.conf needs to be passed. It has two sections namely KafkaClient(its being used to authenticate kafka client with broker) and Client(its being used to authenticate and connect to zookeeper). The contents of JAAS may change depending upon the authentication protocol being used in Kafka Cluster.

@dhayha I have resolved the merge conflict.

We are looking into integrate kafdrop on our Secured Kafka cluster. Could please share neccessary configuration changes ?

Thanks

akshatsaxena95 commented 5 years ago

Hi,

Can we connect kafdrop with SASL_SSL Kafka?

Thanks Akshat

ekoutanov commented 5 years ago

Kafdrop 3 supports SASL and SSL.

There is no real development taking place on Kafdrop 2.x. Consider updating to the next major version – Kafdrop 3.

satare commented 5 years ago

Hi all, and all my apologies for not answering.

Thanks for all, i'll take a look to Kafdrop 3