You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Sönke Liebau (Jira)" <ji...@apache.org> on 2020/04/01 12:26:00 UTC

[jira] [Commented] (KAFKA-1906) Default the Kafka log directory to a relative path within the Kafka installation directory

    [ https://issues.apache.org/jira/browse/KAFKA-1906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072715#comment-17072715 ] 

Sönke Liebau commented on KAFKA-1906:
-------------------------------------

Is changing the default log.dirs value still something we want to do?
This has been dormant for a long time now ..

Also, if we go forward we should agree on one ticket out of KAFKA-1906 and KAFKA-3925 for this task.

> Default the Kafka log directory to a relative path within the Kafka installation directory
> ------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-1906
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1906
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core, log
>            Reporter: Jaikiran Pai
>            Assignee: Jaikiran Pai
>            Priority: Major
>         Attachments: KAFKA-1906.patch, KAFKA-1906_2015-05-18_10:11:12.patch
>
>
> During one of the discussions on kafka-dev mailing list, a point was raised that the current /tmp/kafka-logs default path for storing the Kafka data wasn't probably a good idea and instead we should default it to a relative path within the Kafka installation directory:
> {quote}
> Having a relative path and keeping data under /data in the kafka distro
> would make sense. This would require some reworking of the shell scripts,
> though, as I think right now you an actually run Kafka from any directory
> and the cwd of the process will be whatever directory you start from. If we
> have a relative path in the config then the working directory will HAVE to
> be the kafka directory. This works for the simple download case but may
> making some packaging stuff harder for other use cases.
> {quote}
> The discussion is here http://mail-archives.apache.org/mod_mbox/kafka-dev/201501.mbox/%3CCAOeJiJgA38ktwH4JYFsU4w8idXybF-_ZE_B748tXSorP8Yzrhw@mail.gmail.com%3E 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)