I created a topic with the following configurations -
cleanup.policy = delete segment.bytes = 16328 retention.ms = 300000
After inserting 500 messages I expected the messages to be deleted after 5 minutes however this was not the case. The messages were deleted after 8 minutes.
I then created another topic with
retention.ms = 120000 and observed that the same 500 messages were deleted after 5 minutes.
Could anyone please clarify as to where the additional 3 minutes are being added to the retention.ms config that is specified at the time of topic creation?