kafka-event-driven

Coordinate Kafka event-driven microservices with Dapr Pub/Sub and DLQ handling.

1|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/Mehakanis/Q4_todo_app --skill kafka-event-driven-mehakanis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kafka-event-driven
Source: https://github.com/Mehakanis/Q4_todo_app/tree/main/.claude/skills/kafka-event-driven
Command: npx skills add https://github.com/Mehakanis/Q4_todo_app --skill kafka-event-driven-mehakanis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Event-driven architecture patterns using Apache Kafka to build scalable, decoupled microservices with Dapr Pub/Sub abstraction.

Core Features & Use Cases

  • Versioned event schemas and a registry to evolve data contracts safely.
  • Producer/consumer patterns via Dapr Pub/Sub (Kafka) to enable decoupled services with reliable delivery.
  • Partitioning strategies by user_id to preserve ordering and enable scalable parallelism.
  • DLQ, retry policies, and idempotent processing safeguards for resilient operations.
  • Real-world scenario: coordinate user tasks across services (task events, reminders, updates) with end-to-end traceability.

Quick Start

Run the Kafka-based event pipeline by starting the producer and consumer services wired through Dapr Pub/Sub to the configured Kafka backend.

Frequently Asked Questions about kafka-event-driven

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I coordinate event-driven microservices with Kafka and Dapr Pub/Sub?

Event-driven microservices with Kafka and Dapr Pub/Sub are coordinated by defining versioned event schemas, configuring producers and consumers, and applying partitioning by user_id. This enables decoupled services with reliable delivery and scalable parallelism.

What is the best way to preserve event ordering for individual users in Kafka?

To preserve event ordering for individual users in Kafka, you should apply a partitioning strategy by user_id. This ensures all events for a specific user route to the same partition, maintaining sequence while enabling scalable parallelism across the topic.

How do I handle failed Kafka messages with a DLQ and retry policies?

Failed Kafka messages are handled by configuring Dead Letter Queues (DLQ) and retry policies within your Dapr Pub/Sub setup. This safeguards resilient operations by capturing unprocessable events and applying idempotent processing to prevent duplicates during retries.

Does this event-driven architecture support evolving data contracts safely?

Yes, evolving data contracts are supported safely through versioned event schemas and a registry. This allows you to manage changes to task-events, reminders, and task-updates topics without breaking existing producers or consumers.

How do I ensure idempotent processing across multiple Kafka topics?

Idempotent processing across multiple Kafka topics is achieved by implementing specific safeguards in your consumers. This ensures that duplicate events from task-events, reminders, or task-updates do not cause unintended side effects or duplicate state changes.