Build reliable classic Kafka consumers/producers with explicit commit strategy, idempotent processing, and DLQ handling.
How this skill is triggered — by the user, by Claude, or both
Slash command
/kafka-reliability-skills:kafka-reliability-idempotencyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill targets classic Kafka consumer groups that track progress with committed offsets
This skill targets classic Kafka consumer groups that track progress with committed offsets
(KafkaConsumer, AIOKafkaConsumer, similar clients).
It does not cover Kafka share consumers (KafkaShareConsumer), which use per-record
acknowledge/release/reject/renew semantics instead of plain offset commits.
Use this skill when:
Prevent lost progress and uncontrolled duplication by making commit timing, retries, idempotency, and failure isolation explicit.
Choose the commit strategy intentionally
When using manual commits, commit only after successful processing
last_processed.offset + 1).Make side effects idempotent
Keep long processing compatible with consumer-group liveness
poll() calls can trigger max.poll.interval.ms and cause a rebalance.For Kafka-to-Kafka stronger guarantees, keep producer idempotence enabled
enable.idempotence=true is the default unless conflicting producer configs disable it.acks=all, retries>0, and max.in.flight.requests.per.connection<=5.enable_idempotence=True.Use transactions only for atomic consume-process-produce on Kafka topics
transactional.id belongs to the producer only and should be unique per producer instance; reusing it concurrently will fence the previous producer.enable.auto.commit=false, send the consumed offsets as part of the producer transaction (sendOffsetsToTransaction, send_offsets_to_transaction, or the client equivalent), and have downstream readers use read_committed.Implement retries and an explicit poison-message path
Monitor lag and failure isolation
read_committed consumers.transactional.id across concurrent producer instancestransactional.id, consumed offsets are committed in the transaction, and readers use read_committedProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub willylew/handy-skill-pack --plugin kafka-reliability-skills