IOException: Connection to 0 was disconnected before the response was read

2,206 views
Skip to first unread message

sha p

unread,
Feb 10, 2016, 2:52:14 AM2/10/16
to kafka-clients
Hi all,
 i am able to post the message on topic.
But not able to consumer from the topic.

When I check controller.log i found the below exception.

[2016-02-10 13:04:42,370] WARN [Controller-0-to-broker-0-send-thread], Controller 0 epoch 31 fails to send request {controller_id=0,controller_epoch=31,partition_states=[{topic=JOB_AWS_4,partition=0,controller_epoch=31,leader=0,leader_epoch=0,isr=[0],zk_version=0,replicas=[0]}],live_leaders=[{id=0,host=swinddev04.IND.domain.steelwedge.com,port=9092}]} to broker Node(0, swinddev04.IND.domain.steelwedge.com, 9092). Reconnecting to broker. (kafka.controller.RequestSendThread)
java.io.IOException: Connection to 0 was disconnected before the response was read
at kafka.utils.NetworkClientBlockingOps$$anonfun$blockingSendAndReceive$extension$1$$anonfun$apply$1.apply(NetworkClientBlockingOps.scala:87)
at kafka.utils.NetworkClientBlockingOps$$anonfun$blockingSendAndReceive$extension$1$$anonfun$apply$1.apply(NetworkClientBlockingOps.scala:84)
at scala.Option.foreach(Option.scala:257)
at kafka.utils.NetworkClientBlockingOps$$anonfun$blockingSendAndReceive$extension$1.apply(NetworkClientBlockingOps.scala:84)
at kafka.utils.NetworkClientBlockingOps$$anonfun$blockingSendAndReceive$extension$1.apply(NetworkClientBlockingOps.scala:80)
at kafka.utils.NetworkClientBlockingOps$.recurse$1(NetworkClientBlockingOps.scala:129)
at kafka.utils.NetworkClientBlockingOps$.kafka$utils$NetworkClientBlockingOps$$pollUntilFound$extension(NetworkClientBlockingOps.scala:139)
at kafka.utils.NetworkClientBlockingOps$.blockingSendAndReceive$extension(NetworkClientBlockingOps.scala:80)
at kafka.controller.RequestSendThread.liftedTree1$1(ControllerChannelManager.scala:180)
at kafka.controller.RequestSendThread.doWork(ControllerChannelManager.scala:171)
at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:63)


Any idea what went wrong with the configuration ?

Thank you.
~Shyam
Reply all
Reply to author
Forward
0 new messages