You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by ANKUR JOHRI <er...@gmail.com> on 2016/02/23 08:36:17 UTC
Error from producer sync API "Broker: Request timed out"
Hi,
There is a producer which uses librdkafka to send messages over a Kafka
infrastructure. There is an error which occurred from sync API call. It
gives error message "Broker: Request timed out".
To give some context of the scenario, there are two brokers - broker 2 on
local host being the preferred replica and the leader and broker 1 on
remote host as follower. Data is produced with required.acks = 1 so that
producer writes to leader in sync and to follower in async. We reboot
remote host and follower broker is not available any more and this made
error occurred on local host where producer is writing.
There is nothing much in kafka debug logs.
Please suggest what could be going wrong or let me know if more
information is required. Thanks for your help.
Thanks,
Ankur