java.lang.IllegalStateException: No entry found for node -2

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

java.lang.IllegalStateException: No entry found for node -2
at org.apache.kafka.clients.ClusterConnectionStates.nodeState(ClusterConnectionStates.java:110)
at org.apache.kafka.clients.ClusterConnectionStates.disconnected(ClusterConnectionStates.java:99)
at org.apache.kafka.clients.NetworkClient.initiateConnect(NetworkClient.java:394)
at org.apache.kafka.clients.NetworkClient.maybeUpdateMetadata(NetworkClient.java:380)
at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:174)
at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:175)
at java.lang.Thread.run(Thread.java:744)

Users with the same issue

You are the first who have seen this exception.

Write tip

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