Kafka Log Compaction not starting

后端 未结 3 2023
再見小時候
再見小時候 2020-12-31 04:41

I have a topic with the following description:

Topic:test-topic    PartitionCount:1    ReplicationFactor:1 Configs:min.cleanable.dirty.ratio=0.01,min.compac         


        
3条回答
  •  自闭症患者
    2020-12-31 04:51

    As Natalia said, we can log.segment.bytes config determines the log segment file roll by size.

    If you don't want to change the log.segment.bytes (or) you don't want to wait till the log segment reaches its full size, you can use log.segment.ms config to roll the log segment file by time and trigger compaction.

提交回复
热议问题