mjsax commented on a change in pull request #9420:
URL: https://github.com/apache/kafka/pull/9420#discussion_r553010049
##########
File path: streams/src/main/java/org/apache/kafka/streams/StreamsConfig.java
##########
@@ -602,7 +603,7 @@
REPLICATION_FACTOR_DOC)
.define(STATE_DIR_CONFIG,
Type.STRING,
- "/tmp/kafka-streams",
+
Utils.getTempDir().resolve("kafka-streams").toAbsolutePath().toString(),
Review comment:
Good point John. Maybe we should just use
`System.getProperty("java.io.tmpdir")` here?
We have already code in place in `StateDirectory` constructor to create the
`./kafka-streams` sub-directory. Might be good enough without any additional
changes?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]