You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Buntu Dev <bu...@gmail.com> on 2018/01/08 08:00:45 UTC

KSQL table retention policy

Are the tables and streams persisted on the Kafka brokers? If so then
similar to the retention policy on the Kafka topics, is there some way to
set the retention on the KSQL tables/streams based on the age of the row or
something?


Thanks!

Re: KSQL table retention policy

Posted by "Matthias J. Sax" <ma...@confluent.io>.
Yes, data is persistent on the brokers.

And yes, you can configure those topics as you wish. For KTable, you
should configure log-compaction instead of retention though.

-Matthias

On 1/8/18 12:00 AM, Buntu Dev wrote:
> Are the tables and streams persisted on the Kafka brokers? If so then
> similar to the retention policy on the Kafka topics, is there some way to
> set the retention on the KSQL tables/streams based on the age of the row or
> something?
> 
> 
> Thanks!
>