You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Yuheng Du <yu...@gmail.com> on 2015/07/21 16:37:25 UTC

broker data directory

Just wanna make sure, in server.properties, the configuration
log.dirs=/tmp/kafka-logs

specifies the directory of where the log (data) stores, right?

If I want the data to be saved elsewhere, this is the configuration I need
to change, right?

Thanks for answering.

best,

Re: broker data directory

Posted by Yuheng Du <yu...@gmail.com>.
Thank you, Nicolas!

On Tue, Jul 21, 2015 at 10:46 AM, Nicolas Phung <ni...@gmail.com>
wrote:

> Yes indeed.
>
> # A comma seperated list of directories under which to store log files
> log.dirs=/var/lib/kafka
>
> You can put several disk/partitions too.
>
> Regards,
>
> On Tue, Jul 21, 2015 at 4:37 PM, Yuheng Du <yu...@gmail.com>
> wrote:
>
> > Just wanna make sure, in server.properties, the configuration
> > log.dirs=/tmp/kafka-logs
> >
> > specifies the directory of where the log (data) stores, right?
> >
> > If I want the data to be saved elsewhere, this is the configuration I
> need
> > to change, right?
> >
> > Thanks for answering.
> >
> > best,
> >
>

Re: broker data directory

Posted by Nicolas Phung <ni...@gmail.com>.
Yes indeed.

# A comma seperated list of directories under which to store log files
log.dirs=/var/lib/kafka

You can put several disk/partitions too.

Regards,

On Tue, Jul 21, 2015 at 4:37 PM, Yuheng Du <yu...@gmail.com> wrote:

> Just wanna make sure, in server.properties, the configuration
> log.dirs=/tmp/kafka-logs
>
> specifies the directory of where the log (data) stores, right?
>
> If I want the data to be saved elsewhere, this is the configuration I need
> to change, right?
>
> Thanks for answering.
>
> best,
>