[
https://issues.apache.org/jira/browse/KAFKA-10604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias J. Sax resolved KAFKA-10604.
-------------------------------------
Fix Version/s: 2.8.0
Resolution: Fixed
Thanks for reporting the issue and the PR!
> 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
> Fix For: 2.8.0
>
>
> 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)