kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bhavesh Mistry <mistry.p.bhav...@gmail.com>
Subject [Java New Producer] CPU Usage Spike to 100% when network connection is lost
Date Wed, 17 Sep 2014 21:14:08 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message