Kafka & Redpanda · Audit
Kafka Redpanda Audit
Audit a Kafka or Redpanda stream from topic/key/schema and producer durability through consumer offsets, retries, rebalance, and replay.
MCP library 1.6.1 · Instruction library 1.6.1 · English technical instructions
← Back to searchUse this workflow
Connect Vibe Coding Library to a coding agent that supports MCP over Streamable HTTP. Choose Other / MCP agent for a neutral prompt, or a ready-made Codex or Claude Code invocation. Add your task details below.
Goal and scope
Audit a Kafka or Redpanda stream from topic/key/schema and producer durability through consumer offsets, retries, rebalance, and replay.
Domain invariants
- Ordering claims are scoped to one partition and a stable key/partitioner; partition count and key distribution meet throughput and hot-key constraints.
- Producer acknowledgements, idempotence, retries, in-flight ordering, delivery timeout, batching, compression, and transaction settings match the required loss/duplicate/latency trade-off.
- A consume-process-produce flow that claims atomicity coordinates output records and consumed offsets in one transaction and uses compatible isolation on readers.
- Offsets are committed only at the selected processing boundary; duplicate delivery is safe through idempotency, state-store semantics, or an explicit at-most-once decision.
- Consumer assignment, poll/processing time, heartbeat/session settings, cooperative/static membership, pause/resume, and shutdown prevent rebalance loops and abandoned work.
- Schema IDs/contracts and compatibility policy cover producers, consumers, replay, defaults, nullability, key evolution, and unknown fields.
- Retry/DLQ/quarantine preserves original topic/partition/offset/key/schema/error/attempt context and has bounded retention plus a controlled replay path.
- Topic durability, replication, min in-sync replicas, retention/compaction, quotas, ACLs, and Kafka/Redpanda feature compatibility are environment-owned and observable.
Audit method
- Map producer → serializer/schema → topic/config/key/partition → consumer group → offset/state/side effect → retry/DLQ/replay.
- Trace crash windows before send, after broker ack, before/after side effect, before/after offset commit, during transaction, and during rebalance/shutdown.
- Inspect effective client and broker/topic settings together; reject guarantees inferred from one client flag in isolation.
- Evaluate key distribution, partition capacity, lag, poll duration, batching, retry amplification, and downstream backpressure using representative traffic evidence.
- Verify schema compatibility and operational migration behavior against both Kafka and Redpanda when portability is claimed.
Handoff
Retain topic/partition/offset/key, schema and business operation identities separately. Capture the failing send/effect/commit/rebalance order and expected consumer result. Feed the first violated durability, ownership or replay boundary into Improve Kafka Redpanda. Do not infer business deduplication from a repeated key or one idempotent-producer flag.
Workflow ID: kafka-redpanda-audit · View the versioned source · Shared workflow and authority rules