How to debug - NETWORK_EXCEPTION

2,550 views
Skip to first unread message

Raghav

unread,
Aug 10, 2017, 12:51:19 AM8/10/17
to Users, confluent...@googlegroups.com
Hi

I am sending very small 32 byte message to Kafka broker in a tight loop with 250ms sleep. I have one broker, 1 partition, and replication factor = 1. 

After about 4200 messages, I get following error pasted below.

How can I debug this error ? Can you please throw some ideas for me to debug ? Stuck on this for a while now. Need help here.

17/08/10 04:46:58 WARN internals.Sender:307 Got error produce response with correlation id 4205 on topic-partition topic04-0, retrying (2 attempts left). Error: NETWORK_EXCEPTI
ON
17/08/10 04:47:29 WARN internals.Sender:307 Got error produce response with correlation id 4207 on topic-partition topic04-0, retrying (1 attempts left). Error: NETWORK_EXCEPT$ON
17/08/10 04:47:59 WARN internals.Sender:307 Got error produce response with correlation id 4209 on topic-partition topic04-0, retrying (0 attempts left). Error: NETWORK_EXCEPT$ON
java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.NetworkException: The server disconnected before a response was received.
        at org.apache.kafka.clients.producer.internals.FutureRecordMetadata.valueOrError(FutureRecordMetadata.java:65)
        at org.apache.kafka.clients.producer.internals.FutureRecordMetadata.get(FutureRecordMetadata.java:52)
        at org.apache.kafka.clients.producer.internals.FutureRecordMetadata.get(FutureRecordMetadata.java:25)

--
Raghav

Saravanan Tirugnanum

unread,
Aug 30, 2017, 2:46:21 PM8/30/17
to Confluent Platform, us...@kafka.apache.org
Hi 

Were you able to figure out this issue? Any clue ?

Regards
Saravanan

Raghav

unread,
Aug 30, 2017, 7:31:34 PM8/30/17
to confluent...@googlegroups.com, Users
I was never able to debug this exception. I, unfortunately, moved to Apache Kafka 10.2.1 from Confluent 3.2.1 and this issue went away.

--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/0d1e67c3-7b5e-4b96-bc2d-bd9ba79d5dc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Raghav

Saravanan Tirugnanum

unread,
Aug 31, 2017, 8:43:44 AM8/31/17
to Confluent Platform, us...@kafka.apache.org
Thank you Raghav. Was it like you upgraded Kafka Broker or Clients or both.

Regards
Saravanan
To post to this group, send email to confluent...@googlegroups.com.



--
Raghav

Raghav

unread,
Aug 31, 2017, 9:18:33 AM8/31/17
to confluent...@googlegroups.com, Users
Kafka Brokers only. Clients were Java client that used the same client version as the broker.

To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsubscribe@googlegroups.com.



--
Raghav

--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Raghav
Reply all
Reply to author
Forward
0 new messages