Tag: kafka
All the articles with the tag "kafka".
Kafka on Kubernetes with Strimzi: partitions, rebalancing, failover, commits and a DLQ in one lab
A local kind cluster running Kafka 4.3.2 in KRaft mode through Strimzi, and the commands and real output for keyed partitions, consumer groups, losing a broker, at-least-once vs at-most-once commits, an idempotent consumer and a retry topic with a dead letter queue in Spring Boot.
Microservices communication patterns on a real shop: retries, Kafka, the outbox and a saga
Four Spring Boot 4.1 services, Kafka 4.3, Postgres 17 and Debezium 3.7 in Docker Compose. A retry that charges a card three times, an idempotency key that stops it, a circuit breaker, an event lost to a dual write, the outbox that fixes it and a saga that refunds the money, with every command and output.
Watching Kafka work: batches, log segments and an idle fourth consumer
Kafka 4.3.1 in one container, 3,000 keyed messages and three partitions. The segment files on disk, 900 messages stored in two batches, keys that always land in the same partition, a consumer that gets nothing, and every command to repeat it.