kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Koshy <jjkosh...@gmail.com>
Subject Re: Replay
Date Mon, 12 Mar 2012 21:51:09 GMT
With simple consumer, you can start from any valid offset that you keep
track off.

With the high level (zk-based) consumer: you will need to stop all
consumers, and then update the offsets in zookeeper (see the
ImportZkOffsets tool in the tools package) with the offsets you want to
replay from before restarting your consumer.

Thanks,

Joel

On Mon, Mar 12, 2012 at 12:09 PM, Jain, Kokil <JainK@bit-sys.com> wrote:

> Hi,
>
> Sorry, new to Kafka. Is it possible for a consumer to replay messages from
> an "offset" that may have been committed before?
>
> Thanks for the help,
> Kokil Jain
>
>

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