We are using ksqlDB 0.11.0, and we want to persistently store data in ksqlDB's table. But we set log.retention.hours to 72, so i confused whether the table store the recent 72 hours data?
create stream stream_ori_sacmes_pack_detail with (kafka_topic = 'sacmes.pack.pack_detail',value_format = 'avro');
create stream STREAM_ETL_PACK_DETAIL
with (kafka_topic='gp_etl_pack_detail',PARTITIONS=1, REPLICAS=3, VALUE_FORMAT='avro')
as
select
id,
line_id,
tenant_id
from STREAM_ORI_SACMES_PACK_DETAIL
partition by id
emit changes;
create table KSQL_TABLE_GP_PACK_DETAIL
(id varchar,
line_id varchar,
tenant_id INTEGER
)
WITH (KAFKA_TOPIC='gp_etl_pack_detail', VALUE_FORMAT='avro');