Kafka message persistence stores messages on broker disks rather than in memory. Brokers replicate messages, helping the cluster retain them through a broker failure; consumers can resume after disconnection or replay stored messages. section 1.4.2 section 1.7.3
Retention may be configured for a set duration or indefinitely. Unlike systems that remove messages after consumer acknowledgment, Kafka removes data when its retention period expires—even if it has not been processed. Align retention with application needs and monitor disk capacity. section 5.2.5






