[ https://issues.apache.org/jira/browse/KAFKA-1906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jaikiran pai updated KAFKA-1906: -------------------------------- Status: Patch Available (was: Open) > 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 > Attachments: KAFKA-1906.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_b748txsorp8yz...@mail.gmail.com%3E > -- This message was sent by Atlassian JIRA (v6.3.4#6332)