kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neha Narkhede <neha.narkh...@gmail.com>
Subject Re: Heartbeat btw producer and broker
Date Mon, 23 Sep 2013 14:17:16 GMT
You can configure the producer to reconnect to the brokers and set the
reconnect interval to less than an hour. The config that controls this is
reconnect.time.interval.ms.

Thanks,
Neha
On Sep 23, 2013 12:14 AM, "Rhapsody" <prorhap@gmail.com> wrote:

> Hi everyone,
> I'm using Kafka 0.7.2
>
> My firewall forcely close the tcp session
> when it's no transmission btw two end points for one hour.
>
> When a producer in that network dosen't send any message to Kafka broker
> for one hour,
> it makes problem.
>
> I can't touch that firewall configuration.
>
> Alternatively, I can send dummy logs to kafka, and ignore them in consumer.
> However, I don't think it to be a good way to handle architecural issues in
> bussiness logic.
>
> Does anyone have good idea?
> (Actually, I hope Kafka supports heartbeat feature.)
>
>
> Thanks,
>
> Cnulwoo Choi
>

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