Keep all key-value entries off-heap in a local database, although for durability all entries are recorded in a Kafka topic that can be read to restore the entries if they are lost.
You can use bin/kafka-streams-application-reset to clean up application.
See
https://www.confluent.io/blog/data-reprocessing-with-kafka-streams-resetting-a-streams-application/
and
http://docs.confluent.io/current/streams/developer-guide.html#application-reset-tool
Topic are named like <applicationID>-<operatorName>-changelog
-Matthias
On 1/5/17 3:08 PM, 'Tianxiang Xiong' via Confluent Platform wrote:
> After creating a persistent KeyValueStore
> <https://kafka.apache.org/0100/javadoc/index.html?org/apache/kafka/streams/state/KeyValueStore.html>,
> what's the best way to clean it up, i.e. remove its data?
>
> The documentation says:
>
> Keep all key-value entries off-heap in a local database, although
> for durability all entries are recorded in a Kafka topic that can be
> read to restore the entries if they are lost.
>
>
> But it doesn't say /what/ topic the entries are stored in. Presumably
> cleaning up involves deleting the topic?
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Confluent Platform" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to confluent-platform+unsub...@googlegroups.com
> <mailto:confluent-platform+unsub...@googlegroups.com>.