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.
On Thu, Feb 14, 2013 at 12:09 PM, Subhash Agrawal <[EMAIL PROTECTED]>wrote:
> 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