Install
$ agentstack add skill-vaquarkhan-data-engineering-agent-skills-apache-beam-unified-batch-and-stream ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Apache Beam Unified Batch And Stream
Overview
Use this skill when Apache Beam is the abstraction layer for both batch and streaming data processing. It helps agents preserve portability without hiding time semantics or runner-specific constraints.
When to Use
- building
Apache Beampipelines for batch, streaming, or unified workloads - targeting multiple runners such as
Dataflow,Flink,Spark, orDirect Runner - sharing transform logic across batch and streaming modes
- managing windowing, watermarks, triggers, and late data handling
- designing portable pipelines that must run across environments
Do not use this when the workload is locked to a single runner and Beam portability is not a goal.
Workflow
- Define the pipeline contract and time semantics.
Include:
- input PCollections and their bounded or unbounded nature
- event-time versus processing-time expectations
- output schema, grain, and freshness requirements
- delivery guarantees expected by downstream consumers
- Separate portable pipeline logic from runner-specific deployment.
- keep transforms, DoFns, and combiners runner-agnostic
- isolate runner configuration (parallelism, autoscaling, resource hints) into pipeline options
- document which runners are supported and tested
- avoid runner-specific APIs unless portability is explicitly sacrificed
- Design windowing and trigger strategy explicitly.
Account for:
- fixed, sliding, session, or global windows
- trigger behavior: when to emit, accumulate, or discard
- allowed lateness and late data routing
- watermark advancement assumptions per source
- Handle state and side inputs carefully.
- stateful DoFns bind to a specific key space — document key cardinality
- side inputs can become bottlenecks at scale — prefer bounded and small
- timers must account for watermark-driven versus processing-time semantics
- state cleanup must be explicit for unbounded pipelines
- Make testing and local validation part of the workflow.
- use
DirectRunnerfor correctness tests - validate windowing behavior with synthetic watermark progression
- test exactly-once semantics through pipeline drains and restarts
- confirm output idempotency for at-least-once runners
- Plan deployment, scaling, and operational observability.
- define autoscaling boundaries and cost limits per runner
- expose transform-level metrics for latency, throughput, and backlog
- plan drain and update strategies for streaming pipelines
- document rollback: can the pipeline be redeployed at an earlier version safely?
Common Rationalizations
| Rationalization | Reality | | --- | --- | | "Beam is portable so we don't need to think about runners." | Runner differences in autoscaling, state backends, shuffle behavior, and fusion affect correctness and cost. Testing on a single runner is not proof of portability. | | "We can use the same pipeline for batch and streaming without changes." | Bounded and unbounded PCollections behave differently with respect to windowing, triggers, and watermarks. Unified does not mean identical. | | "DirectRunner tests are enough." | DirectRunner does not expose parallelism, shuffle, or scaling issues. Integration tests on the target runner are required for production confidence. | | "Late data can be handled later." | Late data handling must be part of the initial window and trigger design. Retrofitting allowed lateness after consumers depend on outputs is breaking. |
Red Flags
- pipeline runs on DirectRunner only and has never been tested on the production runner
- windowing strategy is undefined or uses global windows for unbounded sources
- no documentation of which runners are supported or tested
- stateful DoFns have no key cardinality analysis or state cleanup plan
- pipeline updates require full reprocessing because no drain or savepoint strategy exists
- side inputs are unbounded or grow without limit
- no metrics or observability beyond runner-provided defaults
Verification
- [ ] Pipeline contract defines inputs, outputs, time semantics, and delivery guarantees
- [ ] Windowing, triggers, and allowed lateness are explicitly designed and tested
- [ ] Runner-specific configuration is isolated from portable transform logic
- [ ] State and side inputs are bounded and have cleanup or eviction plans
- [ ] Pipeline has been tested on the target production runner, not just DirectRunner
- [ ] Drain, update, and rollback strategies are documented
- [ ] Operational metrics cover latency, throughput, backlog, and error rates per transform
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: vaquarkhan
- Source: vaquarkhan/data-engineering-agent-skills
- License: MIT
- Homepage: https://vaquarkhan.github.io/data-engineering-agent-skills/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.