kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: Async Producer (0.7 version) quick question
Date Fri, 15 Feb 2013 05:39:48 GMT
The data in the producer is only kept in memory. In a clean shutdown, the
producer will drain the queue and send all remaining messages. In an
unclean shutdown, all unsent messages are lost.

Thanks,

Jun

On Thu, Feb 14, 2013 at 12:09 PM, Subhash Agrawal <sagrawal@actuate.com>wrote:

> Hi,
>
> We are using kafka-broker 0.7 version and producer Java API to send
> messages to log server asynchronously. I am interested to know what happens
> to messages in producer queue if we do hard kill on producer or if we call
> close function on producer.
> With default implementation, Does it write to disk or do we lose those
> messages? How can new producer process recover those messages?
>
> Thanks in advance for the help.
> Subhash Agrawal
>

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