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 that deletion kicks off only on "closed" message segments

בתאריך יום ג׳, 1 ביוני 2021, 20:57, מאת sunil chaudhari ‏<
sunilmchaudhar...@gmail.com>:

> 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.
>

Reply via email to