When a producer sends a message to Apache Kafka, it appends it in a log file and retains it for a configured duration.
In this tutorial, we'll learn to configure time-based message retention properties for Kafka topics.
2. Time-Based Retention
With retention period properties in place, messages have a TTL (time to live). Upon expiry, messages are marked for deletion, thereby freeing up the disk space.
The same retention...