I have a topic with the following description:
Topic:test-topic PartitionCount:1 ReplicationFactor:1 Configs:min.cleanable.dirty.ratio=0.01,min.compac
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.