Replies: 2 comments 22 replies
-
Well, you need to start by checking the ZooKeeper logs and the networking etc. |
Beta Was this translation helpful? Give feedback.
10 replies
-
thankyou @scholzj , i will try with setting ports for brokers |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello ,
i am trying to create kafka cluster in k8s environment and expose the kafka service using ingress and the documentation link ,https://strimzi.io/blog/2019/05/23/accessing-kafka-part-5/
following is my yaml file ,
ZK cluster is coming up fine , but it is not allowing Kafka to connect to it , so kafka brokers keep crashlooping ,
the error i see in brokers is the timeout error ,
2021-05-05 06:41:02,336 WARN Client session timed out, have not heard from server in 30356ms for sessionid 0x0 (org.apache.zookeeper.ClientCnxn) [main-SendThread(kafka-zookeeper-client:2181)] 2021-05-05 06:41:02,337 INFO Client session timed out, have not heard from server in 30356ms for sessionid 0x0, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn) [main-SendThread(kafka-zookeeper-client:2181)] 2021-05-05 06:41:02,689 INFO future isn't success, cause: (org.apache.zookeeper.ClientCnxnSocketNetty) [nioEventLoopGroup-2-1] **io.netty.channel.ConnectTimeoutException: connection timed out: kafka-zookeeper-client/10.223.180.129:2181** at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe$1.run(AbstractNioChannel.java:261) at io.netty.util.concurrent.PromiseTask.runTask(PromiseTask.java:98) at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:170) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:834) 2021-05-05 06:41:03,350 INFO Opening socket connection to server kafka-zookeeper-client/10.223.180.129:2181. Will not attempt to authenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn) [main-SendThread(kafka-zookeeper-client:2181)] 2021-05-05 06:41:03,460 INFO SSL handler added for channel: [id: 0xccb54676] (org.apache.zookeeper.ClientCnxnSocketNetty) [nioEventLoopGroup-2-1]
i can see ZK cluster is green always ,
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions