- Home
- Skills
- Agents & Orchestration
- Repair Consumer Rebalance Races
Works with the AI tools you already use
Repair Consumer Rebalance Races
Repair stale consumer ownership, rebalance races, old-generation commits, lease-loss overlap, late callbacks, and ack/commit authority bugs.
$5
Repair Consumer Rebalance Races
Example session with this skill installed
Our Java/Kafka order worker uses cooperative rebalancing. A handler may take 20-40 seconds. On revoke we update assignedPartitions but do not fence running tasks. Those tasks can finish after the partition moves, then try to commit offsets from the old generation. We see CommitFailedException during deploys and occasional duplicate downstream calls. Repair locally with deterministic rebalance callbacks and fake downstream effects. Preserve broker/session settings. Do not connect to production Kafka or claim exactly-once.
- Read your context and instructions
- Compiled the repair consumer rebalance
Rebalance race found. Revoked work continues without ownership generation fencing and can attempt stale commits after reassignment. The repair tags in-flight work with ownership generations, fences stale commit paths, coordinates bounded revoke handling, and tests revoke-during-processing deterministically.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
Consumer ownership can change while work is still running. During a Kafka rebalance, queue lease loss, rolling restart, or rapid reassignment, an old handler may finish after ownership moved elsewhere and then commit or ack stale work while a new owner processes the same message.
This skill maps ownership generations, fences stale handlers and commits, coordinates bounded revoke/shutdown behavior, preserves explicit redelivery/idempotency semantics, and proves the lifecycle with deterministic tests.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 1 month ago
- Passed all security checks, Safe to install