[ https://issues.apache.org/jira/browse/KAFKA-10604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17227164#comment-17227164 ]
Matthias J. Sax commented on KAFKA-10604: ----------------------------------------- Thanks. Good to see that we are in agreement. Will review the PR soon. Thanks for the ticket and PR [~dongjin]! > 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: Bug > 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)