Kafdrop icon indicating copy to clipboard operation
Kafdrop copied to clipboard

Not able to connect to kafka getting SASL error

Open ponmanikandanb opened this issue 6 years ago • 3 comments

2019-11-08 19:03:53.288] - 96364 INFO [main] --- ZooKeeper: Initiating client connection, connectString=localhost:31283 sessionTimeout=5000 watcher=org.apache.curator.ConnectionState@39ad977d [2019-11-08 19:03:53.410] - 96364 INFO [main-SendThread(kafka:31283)] --- ClientCnxn: Opening socket connection to server kafka/127.0.0.1:31283. Will not attempt to authenticate using SASL (unknown error) [2019-11-08 19:03:54.419] - 96364 WARN [main-SendThread(kafka:31283)] --- ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused: no further information at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)

ponmanikandanb avatar Nov 08 '19 13:11 ponmanikandanb

@ponmanikandanb there is full support for TLS and SASL in Kafdrop 3. In addition, ZooKeeper connections are no longer required, meaning that you only connect to Kafka brokers.

ekoutanov avatar Nov 11 '19 02:11 ekoutanov

Is there any way to run Kafdrop 3 it in java 8 @ekoutanov

ponmanikandanb avatar Nov 12 '19 08:11 ponmanikandanb

@ponmanikandanb no sorry, the 3.x project has been migrated to Java 11 as part of a wholesale modernisation of the codebase. We're actually using Java 10 language features, so it is not source-compatible with JDK 8.

May I suggest that you just use the Docker image if you don't want to install JDK 11?

ekoutanov avatar Nov 12 '19 08:11 ekoutanov