Search
Lessons (19)
- Consumers & Consumer Groups
How consumers read in parallel with consumer groups, how partitions are assigned and rebalanced, how offsets are committed …
- What Is Apache Kafka?
… 8997 }) }], }); // Consumer: read events as part of a group const consumer = kafka.consumer({ groupId: "email-service" }); await consumer …
- Kafka for Backend Services
… that's why handlers are idempotent More: [Consumers & Consumer Groups](/learn/kafka/consumers-and-consumer-groups). Step 6 …
- Running Kafka in Production: The DevOps View
… service orders-api may write orders ; billing may read orders bash Allow the billing service's consumer group …
- L6 Production Debugging Casebook
… the 11th reader waits. Partition / consumer group A Kafka topic is split into lines (partitions); a consumer group …
- Kafka vs RabbitMQ & the Kafka Ecosystem
… Multiple independent readers One queue per reader (fanout) ✅ Consumer groups on one topic Stream processing ❌ ✅ Kafka Streams, Flink …
- Message Delivery: Queues, Kafka, Ordering and DLQs
… OrderPlaced(order id, version, event id) - inventory consumer group - email consumer group - analytics consumer group The outbox: don …
- Topics, Partitions & Offsets
… each partition can be read by a different consumer in a group. mermaid flowchart TB subgraph Topic["Topic …
- AWS Messaging: Queues, Topics and Events
… Broadcasting to two consumers is not the same as adding two workers to one queue. A practical SQS …
- A WhatsApp OTP Is Only Single Use If You Make It So
… The first one sets consumed at and finishes. 4. The second one wakes up and re-checks consumed …
- Event-Driven Patterns, Step Functions and Reliable Lambdas
… glue Service Pattern Use when --- --- --- SQS Queue, one consumer group Buffering work, smoothing spikes SNS Pub/sub fan …
- Brokers, Replication & Durability
… It stores partition replicas and serves producers and consumers. - A cluster is a group of brokers (3 at …
- Real-Time, Pub/Sub, Webhooks and CDC
… Two groups want to hear about order changes: - Merchants watch a live dashboard in their browser: "Order 55 …
- CloudWatch: Know What Your App Is Doing
… CloudTrail records AWS account actions, such as who changed a security group. Start with useful application logs Write …
- C4 Architecture Diagrams: Context, Container, Component and Code
… component? In C4, a component is a meaningful grouping of code behind a clear responsibility and interface. It …
- The Hot SKU Alert Problem
… Everything for this product lands on one worker, because events are grouped by product. That one worker can …
- NestJS Core Concepts
… blocks Piece Decorator Job Restaurant analogy --- --- --- --- Module @Module Groups related controllers and providers A department (kitchen, bar) Controller …
- Go Concurrency: Goroutines, Channels and Context
… safely. - Context: a way to tell a whole group of goroutines "stop, we no longer need this". 💬 Go …
- Caching & Redis
… time windows Stream XADD , XREADGROUP Event log with consumer groups Pub/Sub PUBLISH , SUBSCRIBE Real-time notifications, chat …