Make Kafka Topic Log Retention Permanent

前端 未结 3 498
一整个雨季
一整个雨季 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:21

    You can find the default values for parameters here: https://jaceklaskowski.gitbooks.io/apache-kafka/content/kafka-properties.html

    log.retention.bytes and log.retention.ms can be set to -1 if you want to keep the data in topics forever.

提交回复
热议问题