streaming-pipeline

Design real-time streaming pipelines with Kafka, Flink, and Spark Streaming.

1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill streaming-pipeline-kalilurrahman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: streaming-pipeline
Source: https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts
Command: npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill streaming-pipeline-kalilurrahman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building real-time data pipelines requires coordinating message queues, stream processors, windowing logic, state management, and exactly-once delivery guarantees, which is error-prone without a structured methodology. ## Core Features & Use Cases - Kafka Producer/Consumer Patterns: Partitioning strategies, offset management, manual commits, and idempotent event publishing with Python examples. - Stream Processing with Flink and Spark: Windowing (tumbling, sliding, session), event-time watermarks, keyed state with RocksDB, and checkpointing for exactly-once semantics. - Operations & Reliability: Consumer lag monitoring, Prometheus metrics, dead letter queues, circuit breakers, and Avro schema registry integration. - Use Case: Design a user-events pipeline ingesting 50k events/sec through Kafka, aggregating page views in 5-minute Flink windows, and writing results to Elasticsearch with exactly-once guarantees. ## Quick Start Ask the assistant to design a streaming pipeline for your use case by specifying your data volume, latency requirements, and processing needs.

Frequently Asked Questions about streaming-pipeline

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

FAQPage Schema
How do I design a real-time streaming pipeline with Kafka and Flink?

Define latency and throughput requirements first, then choose Kafka as the message queue and Flink as the stream processor. Design producers with partitioning keys, build consumers with manual offset commits, add windowed aggregations, and enable checkpointing for exactly-once semantics.

Kafka vs Flink vs Spark Streaming for stream processing?

Kafka is the durable message queue, not a processor. Flink offers true event-time processing with sophisticated state management, while Spark Structured Streaming uses micro-batches and integrates well with the Spark ecosystem. Choose based on latency needs and existing stack.

How does exactly-once semantics work in Kafka streaming?

Exactly-once combines Flink checkpointing with Kafka transactional producers. Flink periodically checkpoints state, and on failure restarts from the last checkpoint while Kafka transactions ensure outputs are written only once, preventing duplicates and data loss.

What is the difference between event time and processing time?

Event time uses the timestamp when the event actually occurred, handling out-of-order and late events correctly via watermarks. Processing time uses when the system processes the event, which is simpler but inaccurate for delayed data. Event time is recommended for production pipelines.

Why is my Kafka consumer lag growing continuously?

Growing consumer lag means consumers cannot keep up with producer throughput. Common causes include slow downstream sinks, insufficient consumer parallelism relative to partition count, or expensive per-event processing. Monitor lag and scale consumers or optimize the processing logic.

When should I use a dead letter queue in streaming pipelines?

Use a dead letter queue for poison-pill events that fail validation or deserialization, so invalid events do not block the entire pipeline. Route them to a separate topic for inspection while transient errors should be retried instead.