Hello, With reference to this[1] discussion, I am facing a similar issue with the following stack trace interchangeably with broken pipe:
java.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:197) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379) at kafka.utils.Utils$.read(Utils.scala:375) at kafka.network.BoundedByteBufferReceive.readFrom(BoundedByteBufferReceive.scala:54) at kafka.network.Processor.read(SocketServer.scala:347) at kafka.network.Processor.run(SocketServer.scala:245) at java.lang.Thread.run(Thread.java:744) Firewall should not be an issue since I am trying to run the tests locally. As far as I understand, this issue occurs when the connection to the broker from the producer and/or consumer is not closed gracefully. Is this correct? I have made sure that the producer and consumer gracefully close the connection to the broker. Are there any other areas where I can look into for this issue? The broker logs from where the warnings were reported just contained repetitions of : 2014-09-24 12:23:19,043 INFO kafka.network.Processor: Closing socket connection to /<IP Address> [1] - http://grokbase.com/t/kafka/users/133jh47fcj/connection-reset-by-peer Thanks a lot. — Aniket Kulkarni Software Engineer, Big Data Platform. Cerner Corporation. CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.