Repair Lost Events Across Services

    by Mariusz Wrzeszczynski

    1

    Trace and repair events that disappear between producers, outboxes, brokers, consumers, retries, checkpoints, and databases.

    Secure checkout via Stripe

    0 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurfMManus+14 more

    See it in action

    You say

    Some 'order_placed' events are missing in the shipping service even though the order service shows them as created. Check the Kafka path and the consumer logic.

    Your agent does

    Found loss boundary: Consumer 'shipping-worker' acknowledges Kafka offsets before the database transaction commits. If the process crashes mid-handler, the event is lost. Fix: Moved manual ack to after successful DB commit. Added transactional inbox to prevent duplicates on redelivery.

    What you get

    Identify the exact stage where a message was dropped or stalled.Implement transactional outbox patterns to prevent publication gaps.Audit consumer checkpointing to prevent skipping unprocessed messages.Perform safe, idempotent replays of dead-lettered or lost events.Distinguish between true event loss and transient consumer lag.

    About this skill

    The problem

    Event-driven systems often suffer from "silent" data loss where a message disappears between the producer and the database. Developers struggle to distinguish between network delays, consumer lag, misconfigured retention, or early acknowledgments that kill redelivery.

    What it does

    • Traces logical event identities across producers, outboxes, brokers, and consumers to find the exact loss boundary.
    • Identifies failures in the delivery chain, such as commit-before-persist bugs or consumer checkpoint skipping.
    • Detects "poison events" trapped in dead-letter queues or suppressed by incorrect deduplication logic.
    • Implements architecture-compatible repairs like transactional outboxes, stable correlation IDs, and idempotent replays.
    • Validates event paths using deterministic failure injection and end-to-end verification tests.

    Frameworks & tools

    Works with message brokers and streaming platforms including Kafka, RabbitMQ, SQS, Pub/Sub, and NATS. Supports various persistence layers and outbox patterns.

    Why this beats prompting it yourself

    Generic prompts often suggest "just checking logs" or blind replays that cause duplicate side effects. This skill enforces a strict evidence chain, requiring proof of persistence at every durable boundary before suggesting a fix.

    Use cases

    • Finding why a successful checkout event never triggered a fulfillment record.
    • Diagnosing messages that vanish when a consumer service restarts during a rebalance.
    • Repairing gaps in event streams caused by broker retention expiry or TTL settings.
    • Auditing complex multi-hop event paths to ensure stable correlation and causation.

    Known limitations

    Requires a safe development or test environment for failure injection. Cannot recover historical events that were never durably recorded by the producer or broker.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    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 today

    Listedtoday

    Creator

    Mariusz Wrzeszczynski
    Mariusz Wrzeszczynski

    109 skills on Agensi

    Frequently Asked Questions

    Popular in AI Agents & LLM Ops