|
|
-
Changing log retention reset offsets?
Premal Shah 2013-03-15, 08:07
Hi, We changed the default log retention policy from 168 hrs (7days) to 750 hrs (approx a month) and restarted the kafka servers. After the restart, when we ran the console consumer with the --from-beginning flag, it did not get messages from the beginning. Only messages added after the restart were being retrieved. We suspect that the zookeeper offsets might have messed up. We'r using kafka 0.7.2. Is this expected?
-- Regards, Premal Shah.
-
Re: Changing log retention reset offsets?
Premal Shah 2013-03-15, 08:50
Nevermind, we pushed a config which started storing data to a different directory. On Fri, Mar 15, 2013 at 1:06 AM, Premal Shah <[EMAIL PROTECTED]>wrote:
> Hi, > We changed the default log retention policy from 168 hrs (7days) to 750 > hrs (approx a month) and restarted the kafka servers. After the restart, > when we ran the console consumer with the --from-beginning flag, it did not > get messages from the beginning. Only messages added after the restart were > being retrieved. We suspect that the zookeeper offsets might have messed > up. We'r using kafka 0.7.2. Is this expected? > > -- > Regards, > Premal Shah. >
-- Regards, Premal Shah.
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext