Hi Neeraj,
Thanks for all that detail! Your expectation is correct. You should see the checkpoint files after a _clean_ shutdown, and then you should not see it bootstrap from the beginning of the changelog on the next startup.
How are you shutting down the application? You'll want to call KafkaStreams#stop and wait for it to complete before stopping the java process.
I hope this helps,
-John
On Tue, May 31, 2022, at 23:09, Neeraj Vaidya wrote:
> Hi All,
> I have a KStreams application running inside a Docker container which
> uses a persistent key-value store.
>
> I have configured state.dir with a value of /tmp/kafka-streams (which
> is the default).
>
> When I start this container using "docker run", I mount
> /tmp/kafka-streams to a directory on my host machine which is, say for
> example, /mnt/storage/kafka-streams.
>
> My application.id is "myapp". I have 288 partitions in my input topic
...