Search

Lessons (14)

  • Topics, Partitions & Offsets

    … A Kafka topic is the store; its partitions are the checkout lanes. ![A topic split into partitions; the …

  • Consumers & Consumer Groups

    … 3. Different groups each get all the messages, independently, with their own offsets. mermaid flowchart LR subgraph Topic …

  • Delivery Guarantees: At-Most, At-Least & Exactly Once

    … async ({ topic, partition, message }) = { const tx = await producer.transaction(); try { await tx.send({ topic: "ledger", messages: [{ key: message …

  • What Is Apache Kafka?

    … key, value, timestamp, headers One newspaper story Topic A named stream of related events, e.g. orders A …

  • Kafka vs RabbitMQ & the Kafka Ecosystem

    … direct, topic, fanout, headers exchanges Simple: topic + partition by key Ordering Per queue (with one consumer) Per partition …

  • Brokers, Replication & Durability

    … Keep it false for important topics.) The controller and KRaft One broker acts as the controller : it tracks …

  • Message Queues & RabbitMQ

    … Direct Exact routing key match "pdf" → pdf-queue Topic Wildcards: = one word, = zero or more order. .eu Fanout …

  • Which Pattern Do I Need?

    … pattern System-level cousin --- --- Observer Pub/Sub, Kafka topics, event-driven architecture Facade API Gateway, Backend for Frontend …

  • Clean Architecture

    … The [Software Architecture](/learn/software-architecture) topic covers [Clean Architecture in depth](/learn/software-architecture/clean-architecture), [Hexagonal …

  • Kafka Producers

    … 5 }); await producer.connect(); export async function publishOrderPlaced(order) { await producer.send({ topic: "shop.orders.placed", acks: -1 …

  • Scaling & Health Probes

    … email-service topic: shop.orders.placed lagThreshold: "1000" Vertical scaling (VPA) The VerticalPodAutoscaler recommends (or applies) better CPU …

  • Finding Service Boundaries with DDD

    … architecture/ddd-tactical-design) in the Software Architecture topic. Key DDD vocabulary Term Meaning Example --- --- --- Domain The business …

  • Event-Driven Architecture

    … APIs; document them (AsyncAPI) (The Kafka and Microservices topics cover delivery guarantees, the outbox, sagas and CQRS in …

  • Clean Architecture in Depth

    … circle, not even its name. 💡 The Clean Code topic has a short introduction to this idea. This lesson …