/data-engineering-skills:building-kafka-consumersfrom data-engineering-skills
Guides building reliable Kafka consumers and producers with patterns for consumer groups, offset commits, delivery guarantees, rebalancing, and dead-letter handling.
Ships in data-engineering-skills. 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.
None: SKILL.md is the whole skill.
processing-streaming-data).- [ ] Size partitions to target parallelism (consumers <= partitions)
- [ ] Commit offsets AFTER successful processing
- [ ] Make the sink idempotent (upsert by event key)
- [ ] Handle rebalances (commit on revoke, avoid long poll gaps)
- [ ] Route poison messages to a dead-letter topic
poll() intervals
under max.poll.interval.ms so the broker doesn't evict the consumer.Manual commit after processing:
consumer = KafkaConsumer("orders", group_id="etl",
enable_auto_commit=False,
max_poll_records=500)
for msg in consumer:
try:
upsert(process(msg)) # idempotent by key
consumer.commit() # commit only after success
except PoisonError:
send_to_dlq(msg)
consumer.commit() # skip the bad record
Idempotent / transactional producer — set enable.idempotence=true (dedupes
retries) and use transactions for read-process-write exactly-once across topics.
Throughput tuning — increase max.poll.records, fetch.min.bytes, and
process in batches; keep processing fast to avoid rebalance eviction.
max.poll.interval.ms and triggers
endless rebalances; process in bounded batches or use a background worker.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
36 skills in this plugin
/authoring-airflow-dagsWrite production-grade Apache Airflow DAGs using the TaskFlow API — idempotent tasks, correct scheduling and catchup, retries/SLAs, connections/variables, and avoiding top-level code. Use when creating or reviewing Airflow DAGs, scheduling pipelines, wiring task dependencies, configuring retries/backfills, or fixing non-idempotent tasks./building-dagster-assetsBuild Dagster pipelines using software-defined assets — asset dependencies, partitions, resources and IO managers, asset checks, and schedules/sensors. Use when creating Dagster assets or jobs, modeling data as assets, adding partitions or backfills, wiring resources/IO managers, or migrating from task-based orchestration to assets./npx claudepluginhub unknown-333/awesome-data-engineering-skills --plugin data-engineering-skillsOther plugins' skills for the same job