Topic Operator fails to start with VertxException: Thread blocked #8992
-
Hello, When kafka replica is set to 1 or 2, Topic Operator fails to start with below VertxException: Thread blocked. The issue is not reproducible with 3 replicas of kafka. Below is the exception stacktrace: Thread Thread[blocking-startup-ops-0,5,main] has been blocked for 412528 ms, time limit is 60000 ms io.vertx.core.VertxException: Thread blocked|\tat [email protected]/jdk.internal.misc.Unsafe.park(Native Method)|\tat [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)|\tat [email protected]/java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1796)|\tat [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3128)|\tat [email protected]/java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1823)|\tat [email protected]/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1998)|\tat app//io.strimzi.operator.topic.Session.createTopicStore(Session.java:324)|\tat app//io.strimzi.operator.topic.Session$$Lambda$234/0x000000010038e840.apply(Unknown Source)|\tat app//io.strimzi.operator.topic.Session.lambda$createTopicStoreAsync$15(Session.java:254)|\tat app//io.strimzi.operator.topic.Session$$Lambda$448/0x000000010051f440.handle(Unknown Source)|\tat app//io.vertx.core.impl.ContextImpl.lambda$null$0(ContextImpl.java:159)|\tat app//io.vertx.core.impl.ContextImpl$$Lambda$314/0x0000000100469040.handle(Unknown Source)|\tat app//io.vertx.core.impl.AbstractContext.dispatch(AbstractContext.java:100)|\tat app//io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:157)|\tat app//io.vertx.core.impl.ContextImpl$$Lambda$307/0x000000010044a840.run(Unknown Source)|\tat app//io.vertx.core.impl.TaskQueue.run(TaskQueue.java:76)|\tat app//io.vertx.core.impl.TaskQueue$$Lambda$238/0x000000010038d840.run(Unknown Source)|\tat [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)|\tat [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)|\tat app//io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)|\tat [email protected]/java.lang.Thread.run(Thread.java:829) I checked an older discussion #6046 with same issue. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
You would probably need to share all the logs and not just one exception which tells nothing about the actual issue. You should not use |
Beta Was this translation helpful? Give feedback.
This is because you have it misconfigured. You have one Kafka replica only, but your configuration use the Kafka defaults which is 3 replicas for every topic. You should follow the Strimzi examples which configure it properly: https://github.com/strimzi/strimzi-kafka-operator/blob/main/examples/kafka/kafka-ephemeral-single.yaml