ยฉ Anton Dolganin 2025
Kafka supports a zero-retention topic โ retention.ms=0
โ and it still works.
You can send messages to such a topic, and Kafka will deliver them to all active consumers. No persistence. No logs. Pure firehose.
This effectively turns Kafka from a log-based broker into a real-time pub/sub system, almost like WebSocket โ but with Kafka-grade reliability and scale.
๐ Rarely used, but incredibly useful for:
ยฉ Anton Dolganin 2025