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

Dongjin Lee commented on KAFKA-10604:
-------------------------------------

[~mjsax] Perhaps we need a KIP discussion for this issue, like 
[KIP-676|https://cwiki.apache.org/confluence/display/KAFKA/KIP-676%3A+Respect+logging+hierarchy].
 Isn't it?

> The StreamsConfig.STATE_DIR_CONFIG's default value does not reflect the JVM 
> parameter or OS-specific settings
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-10604
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10604
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Dongjin Lee
>            Assignee: Dongjin Lee
>            Priority: Minor
>
> I found this problem working for 
> [KAFKA-10585|https://issues.apache.org/jira/browse/KAFKA-10585].
> The JVM's temporary directory location is different per OS, and JVM allows to 
> change it with `java.io.tmpdir` system property. In Linux, it defaults to 
> `/tmp`.
> The problem is the default value of StreamsConfig.STATE_DIR_CONFIG 
> (`state.dir`) is fixed to `/tmp/kafka-streams`. For this reason, it does not 
> change if the runs on OS other than Linux or the user specifies 
> `java.io.tmpdir` system property.
> It should be `\{temp-directory}/kafka-streams`, not `/tmp/kafka-streams`.



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

Reply via email to