Make Kafka Topic Log Retention Permanent

前端 未结 3 510
一整个雨季
一整个雨季 2021-01-01 17:21

I am writing log messages into a Kafka Topic and I want the retention of this topic to be permanent. I have seen in Kafka and Kafka Connect (_schemas, connect-configs, conne

3条回答
  •  余生分开走
    2021-01-01 17:24

    These special topics are compacted topics. This means they are made up of keyed messages and only keep the list recent key. A full write here. This is probably what you want for infinite retention time in most cases.

提交回复
热议问题