kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip O'Toole" <phi...@loggly.com>
Subject Re: How do you handle server down in producer
Date Thu, 04 Apr 2013 21:38:26 GMT
Not much you can do, right? Either buffer the Events in memory (for as much
memory as you have) or drop it.

IMHO if Kafka is a critical piece of your Infrastructure, it's hard to
solve the issue of what to do when it goes down. Instead, engineer your
system so your Producers and Kafka Brokers are reliable and redundant --
and well tested.


On Thu, Apr 4, 2013 at 2:30 PM, Jamie Wang <jamie.wang@actuate.com> wrote:

> What is the best way to handle kafka server going down during a message
> send by a producer? We have seen our producer stuck waiting until kafka
> server comes back. Is there ways the producer can catch a timeout or ways
> to test if Kafka server is up so to send the message. Having the producer
> hang in memory and not do anything indefinitly is not desirable in our
> scenario.  Thanks for your help.
> Jamie

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