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 <ranlupov...@gmail.com> wrote: > 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. > > >