Also do you know what version you are running we did fix several bugs similar to this against trunk.
-Jay On Wed, Sep 17, 2014 at 2:14 PM, Bhavesh Mistry <mistry.p.bhav...@gmail.com> wrote: > Hi Kafka Dev team, > > I see my CPU spike to 100% when network connection is lost for while. It > seems network IO thread are very busy logging following error message. Is > this expected behavior ? > > 2014-09-17 14:06:16.830 [kafka-producer-network-thread] ERROR > org.apache.kafka.clients.producer.internals.Sender - Uncaught error in > kafka producer I/O thread: > > 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 org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:115) > > at java.lang.Thread.run(Thread.java:744) > > Thanks, > > Bhavesh