# Persistent Stream

**URL:** <https://forum.confluent.io/t/persistent-stream/6374>\
**Category:** ksqlDB\
**Created:** [28 October 2022 05:52 UTC](https://forum.confluent.io/t/persistent-stream/6374 "2022-10-28T05:52:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![StS](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@StS](https://forum.confluent.io/u/StS)\
**Post date:** [28 October 2022 05:52 UTC](https://forum.confluent.io/t/persistent-stream/6374/1 "2022-10-28T05:52:26Z")

</div>

Hello together,  
I start ksqlDB in a Docker container on my local dev machine. Then I can create streams by the control center ui.

After restarting the kdslDb docker container the streams are not exists anymore.

Is there any possibility to persistent the streams? May I just need to map a folder to my local machine?

Thank you in advance!  
Simon

---

<div class="post-metadata">

**Author:** ![mmuehlbeyer](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/mmuehlbeyer/32/1088_2.png) [@mmuehlbeyer](https://forum.confluent.io/u/mmuehlbeyer)\
**Post date:** [29 October 2022 21:09 UTC](https://forum.confluent.io/t/persistent-stream/6374/2 "2022-10-29T21:09:29Z")

</div>

hey

i assume you‘re running kakfka ans zookeeper also in your docker env?

them it should be sufficient to mount the kakfa and zookeeper data dirs.

see also [docker - follow the quickstart, how to persist topic, stream and tables? - Stack Overflow](https://stackoverflow.com/questions/73675924/follow-the-quickstart-how-to-persist-topic-stream-and-tables)

best,  
michael

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [5 November 2022 21:09 UTC](https://forum.confluent.io/t/persistent-stream/6374/3 "2022-11-05T21:09:52Z")

</div>

Closed on 5 November 2022 21:09 UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
