|
|
-
Changing a consumer offset while running
Guy Doulberg 2012-10-04, 07:19
Hi guys,
What will happen, if while having consumers running, I change the offset kept in the zookeeper?
Will the consumer get updated? Or will it override the zookeeper offsets?
I am asking it, because I have an idea that might be useful to my clients, I want to supply them a web ui from which they could change the offset their consumer is currently running on.... Thanks,
-
Re: Changing a consumer offset while running
Neha Narkhede 2012-10-04, 14:03
Hi,
If you change the offsets while at least one consumer instance is running, the offsets in zookeeper will be overwritten. To safely overwrite the offsets, you need to shutdown all consumers in that group.
Thanks, Neha
On Thursday, October 4, 2012, Guy Doulberg <[EMAIL PROTECTED]> wrote: > Hi guys, > > What will happen, if while having consumers running, I change the offset kept in the zookeeper? > > Will the consumer get updated? > Or will it override the zookeeper offsets? > > I am asking it, because I have an idea that might be useful to my clients, I want to supply them a web ui from which they could change the offset their consumer is currently running on.... > > > Thanks, > > >
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext