streaming-data

Implement event streaming pipelines with Kafka, Pulsar, Redpanda, Flink, and Spark.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/masermediagroup-stack/maser-media --skill streaming-data-masermediagroup-stack
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: streaming-data
Source: https://github.com/masermediagroup-stack/maser-media/tree/main/.cursor/skills/community/ai-design-components/skills/streaming-data
Command: npx skills add https://github.com/masermediagroup-stack/maser-media --skill streaming-data-masermediagroup-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires kafkajs, confluent-kafka, kafka-go, kafka-clients, and includes scripts (resource) and references (resource) components.

What problem does it solve? Building real-time event streaming systems requires choosing between many brokers, processors, and client libraries, and getting delivery guarantees, error handling, and CDC patterns right is difficult without proven reference implementations. ## Core Features & Use Cases - Broker and Processor Selection: Decision frameworks comparing Kafka, Pulsar, Redpanda, and RabbitMQ, plus Flink, Spark, Kafka Streams, and ksqlDB. - Multi-Language Patterns: Producer/consumer implementations in TypeScript (KafkaJS), Python (confluent-kafka-python), Go (kafka-go), and Java (Apache Kafka client). - Advanced Patterns: Event sourcing, Change Data Capture with Debezium, exactly-once transactions, dead letter queues, and backpressure handling. - Use Case: A team building an order-processing microservice uses this Skill to select Kafka, implement an idempotent producer in TypeScript, add a consumer with DLQ error handling, and configure Debezium to sync database changes in real time. ## Quick Start Ask the AI to set up a Kafka producer and consumer with at-least-once delivery and dead letter queue handling for your chosen language.

Frequently Asked Questions about streaming-data

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

FAQPage Schema
How do I implement a Kafka producer and consumer in TypeScript?▼

Use the KafkaJS library to create a producer with idempotence enabled and acks set to all, then send messages with a key for partitioning. For consumers, subscribe to topics, process each message, and manually commit offsets only after successful processing.

Kafka vs Redpanda vs Pulsar: which message broker should I choose?▼

Choose Kafka for a mature ecosystem and event replay, Redpanda for lower latency and simpler operations without ZooKeeper, and Pulsar for native multi-tenancy and geo-replication. RabbitMQ fits traditional task queues rather than event streaming.

What is the difference between at-least-once and exactly-once delivery in Kafka?▼

At-least-once guarantees no message loss but may produce duplicates, requiring idempotent consumers. Exactly-once uses idempotent producers and transactions to prevent both loss and duplicates, at the cost of higher latency and complexity.

How do I set up Change Data Capture with Debezium?▼

Enable binary logging in MySQL or logical replication in PostgreSQL, create a replication user, then deploy a Debezium connector configuration pointing at your database and Kafka cluster. Row-level changes are published as events to Kafka topics.

Why is my Kafka consumer lag growing and how do I fix it?▼

Consumer lag grows when processing is slower than message production or partitions outnumber consumers. Match partition count to consumer instances, reduce per-message processing time, and monitor lag metrics to catch bottlenecks early.

When should I use a dead letter queue in stream processing?▼

Use a dead letter queue when messages fail parsing, exceed maximum retry attempts, or hit permanently unavailable downstream services. Failed messages are routed to a separate topic with error metadata for later analysis instead of blocking the pipeline.