heh. This is a really good point. I'll update the test to use a subdirectory of the temp directory as the state directory, and then assert that the state directory doesn't exist.
It is currently allowed for Streams to auto-create the state directory even if it doesn't need to. I wrote KAFKA-7367 because I don't think it should, though, and this test is intended to be the spec to verify that any implementation of lazy state dir creation actually doesn't automatically create the directory. [ Full content available at: https://github.com/apache/kafka/pull/5647 ] This message was relayed via gitbox.apache.org for [email protected]
