Re: In case of Max topic size is reached

2021-06-01 Thread Ran Lupovich
segment.bytes This configuration controls the segment file size for the log. Retention and cleaning is always done a file at a time so a larger segment size means fewer files but

Re: In case of Max topic size is reached

2021-06-01 Thread sunil chaudhari
And when is that message segment closed? I mean what is the criteria to close the message segment? Can I change that criteria with configuration? On Tue, 1 Jun 2021 at 11:36 PM, Ran Lupovich wrote: > They work simultaneously, topic with cleanup policy of DELETE , will > clean old message

Re: In case of Max topic size is reached

2021-06-01 Thread Ran Lupovich
They work simultaneously, topic with cleanup policy of DELETE , will clean old message older than the retention period and also deletes the oldest messages when retention bytes limit is breached, notice this limit is for each partition in a topic and not total size of the topic, notice as well

In case of Max topic size is reached

2021-06-01 Thread sunil chaudhari
Hi, Suppose: Maximum Topic size is set to 1 GB Retention hours: 168 What happens in case topic size reaches the maximum size before 168 hours. Will it delete few messages before its expiry though they are eligible to stay for 168 hrs? Regards, Sunil.