You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by tao xiao <xi...@gmail.com> on 2015/02/09 11:57:34 UTC

Is auto.commit.enable still applicable when setting offsets.storage to kafka

Hi team,

If I set offsets.storage=kafka can I still use auto.commit.enable to turn
off auto commit and auto.commit.interval.ms to control commit interval ? As
the documentation mentions that the above two properties are used to
control offset to zookeeper.

-- 
Regards,
Tao

Re: Is auto.commit.enable still applicable when setting offsets.storage to kafka

Posted by Gwen Shapira <gs...@cloudera.com>.
Yep, still applicable.

They will do the same thing (commit offset on regular intervals) only with
Kafka instead of Zookeeper.

On Mon, Feb 9, 2015 at 2:57 AM, tao xiao <xi...@gmail.com> wrote:

> Hi team,
>
> If I set offsets.storage=kafka can I still use auto.commit.enable to turn
> off auto commit and auto.commit.interval.ms to control commit interval ?
> As
> the documentation mentions that the above two properties are used to
> control offset to zookeeper.
>
> --
> Regards,
> Tao
>