kafka.common.KafkaException: fetching topic metadata for topics [Set(default)] from broker [List()] failed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Couchbase JIRA by Andrei Baranouski, 1 year ago
fetching topic metadata for topics [Set(default)] from broker [List()] failed
via Couchbase JIRA by Andrei Baranouski, 1 year ago
fetching topic metadata for topics [Set(default)] from broker [List()] failed
via Stack Overflow by syed jameer
, 1 year ago
fetching topic metadata for topics [Set(tweets)] from broker [ArrayBuffer(id:0,host:localhost,port:9092)] failed
via Stack Overflow by Sai Dilip Reddy Kiralam
, 1 year ago
fetching topic metadata for topics [Set(tweets)] from broker [ArrayBuffer(id:0,host:localhost,port:9092)] failed
via Stack Overflow by ram
, 1 year ago
fetching topic metadata for topics [Set(logmessage)] from broker [ArrayBuffer(id:0,host:XX.X.XX.XX,port:XX] failed
via Google Groups by Fredrik, 1 year ago
fetching topic metadata for topics [Set(metrics)] from broker [ArrayBuffer(id:0,host:<NODE_NAME>,port:9092)] failed
kafka.common.KafkaException: fetching topic metadata for topics [Set(default)] from broker [List()] failed
at kafka.client.ClientUtils$.fetchTopicMetadata(ClientUtils.scala:72)
at kafka.producer.BrokerPartitionInfo.updateInfo(BrokerPartitionInfo.scala:82)
at kafka.producer.async.DefaultEventHandler$$anonfun$handle$2.apply$mcV$sp(DefaultEventHandler.scala:78)
at kafka.utils.Utils$.swallow(Utils.scala:172)
at kafka.utils.Logging$class.swallowError(Logging.scala:106)
at kafka.utils.Utils$.swallowError(Utils.scala:45)
at kafka.producer.async.DefaultEventHandler.handle(DefaultEventHandler.scala:78)
at kafka.producer.Producer.send(Producer.scala:77)
at com.couchbase.kafka.KafkaWriter.onEvent(KafkaWriter.java:75)
at com.couchbase.kafka.KafkaWriter.onEvent(KafkaWriter.java:36)
at com.couchbase.client.deps.com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:128)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at com.couchbase.client.deps.io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

2408 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.