Tagged “Kafka”
4 articles with this tag.
- Event-driven (Cloud Stream, Kafka, RabbitMQ)Building event-driven Spring services: events vs commands, Kafka vs RabbitMQ, Spring Cloud Stream's functional model (Supplier, Function, Consumer bindings), consumer groups and partitioning, error handling with retries and dead-letter queues, Spring for Apache Kafka and Spring AMQP directly, the transactional outbox, idempotent consumers, schemas, and testing.
- Queues and delivery semanticsWhy systems put queues between components, point-to-point queues versus publish-subscribe topics, message queues versus event streaming platforms, at-most-once, at-least-once and exactly-once delivery with idempotent consumers, ordering, dead-letter queues, back-pressure, and why Kafka is fast (sequential I/O and zero copy).
- Stream processingProcessing unbounded event streams: message brokers versus log-based brokers like Kafka, partitions and consumer offsets, keeping systems in sync with change data capture, event sourcing and immutable state, stream analytics, event time versus processing time, window types, stream joins, and exactly-once through idempotence and atomic commit.
- Transactional outbox and inboxSolving the dual-write problem in microservices: why saving to the database and publishing to Kafka separately loses or invents events, the transactional outbox table, polling publishers versus CDC with Debezium, ordering and cleanup, the idempotent inbox for consumers, and a Spring Boot implementation.