3

I know Kafka uses RocksDb internally. If I use KTable to store data dictionary, will it be deleted after a specific time? If that so, how can I make it last unlimited time?

Michal Borowiecki
  • 4,244
  • 1
  • 11
  • 18
Archon
  • 1,385
  • 1
  • 15
  • 30

1 Answers1

2

KTables and the underlying RocksDB state stores have semantics like a compacted topic in Kafka. The retention is not based on time, but rather a record becomes eligible for deletion if you send a message with a given key and an null value to the input topic.

Michal Borowiecki
  • 4,244
  • 1
  • 11
  • 18