Kafka difiere de las colas de mensajes tradicionales (como RabbitMQ) de formas clave — es un registro distribuido que retiene eventos (en lugar de eliminarlos al consumirse), admite reproducción, ofrece rendimiento muy alto y utiliza un modelo basado en pull y particiones. Comprender las diferencias aclara cuándo usar cada uno.
Por qué es importante
TRADITIONAL QUEUE (e.g. RabbitMQ) → messages are typically DELETED once consumed:
→ a message goes to a consumer and is removed (transient)
→ push-based often; rich routing; per-message acknowledgment
KAFKA → a durable, retained LOG of events:
→ events are STORED (retained for a period), NOT deleted on consumption
→ multiple consumers/groups can read the SAME events independently
→ REPLAY → re-read past events (rewind to any offset)
→ pull-based; partition-based ordering and scaling; very high throughput
