/polymath-streaming:stream-processingfrom polymath-streaming
Design stream processing — windowing (tumbling/sliding/session), watermarks for late data, stateful operators, exactly-once, stream-stream/table joins, and CEP.
Ships in polymath-streaming. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Streaming computation is batch computation where the data never stops and time is ambiguous. Decide event-time vs processing-time and your lateness policy first; everything else is detail.
Mode: analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked [TBD] or [VERIFY], never filled in.
polymath-streaming:stream-processing.Not this when: you are designing the topics/partitions/delivery the job consumes — that is polymath-streaming:streaming-design. For scheduled batch transforms, polymath-streaming:data-pipeline.
Stream processing design: payment fraud velocity (Flink)
Time: event-time (event.created_at); processing-time rejected — card retries arrive out of order
Window: sliding 10 min, slide 1 min, keyed by card_id
Watermark: bounded out-of-orderness 30 s; allowed lateness 2 min → late events update the window result;
past 2 min → side output `late-payments` (counted and alerted, not dropped silently)
State: keyed state TTL 15 min; RocksDB backend; checkpoints every 60 s to S3, exactly-once mode
Sink: Kafka transactional sink → fraud.velocity-alerts (exactly-once end to end)
Joins: stream–table enrichment with merchants (temporal join on merchant version at event time)
CEP: ≥ 5 declines then 1 approval within 10 min, per card_id → alert
Reprocessing: savepoint, deploy the new job version in parallel from a log offset, compare outputs for 24 h, cut over
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mohammadbafkar/polymath --plugin polymath-streaming9 skills in this plugin
/azure-event-hubs-designDesign and size Azure Event Hubs — tier, throughput units, partitions, consumer groups, checkpointing, Capture, Kafka endpoint./data-lake-layoutDesign the physical data lake — zones, paths, Parquet and Delta/Iceberg, file sizing, partitioning, compaction, lifecycle tiers./data-modelingModel analytical data — dimensional (star/snowflake) vs normalized vs lakehouse medallion layers, grain, partitioning, slowly-changing dimensions, and schema evolution./data-pipelineDesign a data pipeline — ETL vs ELT, batch vs streaming, orchestration/DAG, idempotent backfills, schema handling, data-quality checks, and lineage./event-schema-evolutionEvolve event schemas safely — registry, Avro/Protobuf compatibility modes, upgrade order, breaking-change playbook, CI contract checks./kafka-performance-tuningTune Kafka throughput, latency and consumer lag — producer batching, acks, fetch, rebalances, broker IO. Not topology (streaming-design).