Search
Lessons (13)
- Kafka vs RabbitMQ & the Kafka Ecosystem
… integration without code Ready-made connectors move data between Kafka and other systems, configured with JSON instead of …
- What Is Apache Kafka?
… append an event const producer = kafka.producer(); await producer.connect(); await producer.send({ topic: "orders", messages: [{ key: "customer …
- Running Kafka in Production: The DevOps View
… Kafka opens many files (one per segment + connections) [Service] LimitNOFILE=200000 Mount data disks with noatime , put data …
- Kafka Producers
… kafka-1:9092", "kafka-2:9092"] }); const producer = kafka.producer({ idempotent: true, maxInFlightRequests: 5 }); await producer.connect(); export …
- Kafka for Backend Services
… producer = kafka.producer({ idempotent: true }); // no duplicates from producer retries export async function runRelay() { await producer.connect(); while …
- Message Queues & RabbitMQ
… producer and consumer (Node.js, amqplib) js // producer.js import amqp from "amqplib"; const connection = await amqp.connect …
- Delivery Guarantees: At-Most, At-Least & Exactly Once
… const producer = kafka.producer({ transactionalId: "ledger-writer-1", idempotent: true, maxInFlightRequests: 1 }); await producer.connect(); await consumer.run …
- L6 Production Debugging Casebook
… let's add more connections." 2. Someone else says "No, it's Kafka, let's add more consumers …
- Consumers & Consumer Groups
… no harm. js const consumer = kafka.consumer({ groupId: "email-service" }); await consumer.connect(); await consumer.subscribe({ topic: "shop …
- Hexagonal Architecture (Ports & Adapters)
… its own language ForPlacingOrders , OrderRepository Adapter Code that connects a real technology to a port Express controller, Postgres …
- The L6 System-Design Thinking Loop
… The team picks tools first ("let's use Kafka and Redis") without saying what must never break. 2 …
- Behavioral Patterns I: Observer, Strategy, Command, State
… deliver delivered -- [ ] cancelled -- [ ] You've used it: useReducer in React, XState state machines, TCP connection states, order and …
- Practical Project: Deploy a Real CRM App on EKS
… The pod has credentials, reads the secret and connects to PostgreSQL. The application exhausts its database connection pool …