---
title: "WarpStream Kafka Ripcord: produce without the control plane"
description: "WarpStream (Agent v857) Ripcord: produce is acked with offset 0 and journaled while the control plane is down; the replay can reorder batches across Agents."
url: https://monedula.dev/kafka-simulator/scenarios/warpstream-ripcord/
---

# WarpStream Kafka Ripcord: produce without the control plane

Scenario 10.1.5 · WarpStream: Ripcord. Diskless · Advanced · about 4 min · Apache Kafka 4.4 · WarpStream (Agent v857).

WarpStream (Agent v857) · with Ripcord on, produce goes on without the control plane: files are acked with offset 0 and journaled, an idempotent producer is refused, consumers wait, and the replay commits a batch acked earlier after one acked later.

Run it: https://monedula.dev/kafka-simulator/playground/?scenario=10.1.5

## What you start with

WarpStream Agents run in your account, but the hosted control plane commits every file, assigns the offsets and coordinates the consumer groups. Ripcord lets the Agents keep taking produce while the control plane is unreachable. This is the outage of 10.1.4 with Ripcord on. Three Agents run here, one per zone. Producers p-a in az-a and p-c in az-c have idempotence off; p-idem in az-b is idempotent. Group g1 reads orders from az-a. The control plane becomes unreachable and comes back later. Timings are slowed so each phase gets its own frame.

## Step by step

1. **Ripcord is on; the control plane goes down** (t+2.050s): orders is a WarpStream topic (Agent v857). Three Agents run here, one per zone, with Ripcord on. p-a (ws_az=az-a) writes through agent-1 and p-c (ws_az=az-c) through agent-3, both with idempotence off; p-idem in az-b is idempotent. The first records, k1 from p-a and k2 from p-c, were committed by the control plane at 1450 and acked: k1 got offset 0 of partition 2 and k2 offset 0 of partition 1. g1's consumer c1 in az-a read them at 1800. At 2000 the control plane stops, and the Agents notice at once (the simulator's choice). Without Ripcord, produce would now be rejected. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=10.1.5&t=0)
2. **Produce goes on: acked with offset 0, kept in a journal** (t+3.700s): At 2100 p-c sends k3, and at 2500 p-a sends k4, both to partition 2. Each Agent buffers and uploads a file as usual. agent-3's file with k3 is in object storage at 3250, and agent-1's file with k4 at 3650. With Ripcord the Agent acks once the file is written: p-c is acked at 3250 and p-a at 3650, each with offset 0. That is not the record's offset (offset 0 of partition 2 is k1): nothing can be committed, so each file goes into a journal, to be committed when the control plane returns. Partition 2's high watermark stays at 1. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=10.1.5&t=1)
3. **An idempotent producer is refused under Ripcord** (t+3.900s): At 3800 p-idem, an idempotent producer, sends k5. At 3850 it is refused with INVALID_REQUEST, and the record reaches no Agent. WarpStream's docs say idempotence and transactions must be off for Ripcord, but not how a producer that has them on is answered: the refusal and the code are the simulator's choices. INVALID_REQUEST is not retriable, so p-idem stops with an error. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=10.1.5&t=2)
4. **Consumers wait: nothing journaled is readable yet** (t+4.250s): WarpStream's docs say consumers stop under Ripcord: the list of files to read comes from the control plane, and a journaled file has no offsets yet. c1 polled at 2400, 3000, 3600 and 4200. Each fetch failed with REQUEST_TIMED_OUT on every partition, and each try to commit what it read at 1800 failed with COORDINATOR_NOT_AVAILABLE (the docs name no codes; both are the simulator's choice). k3 and k4 are acked, yet no consumer can read them: partition 2's high watermark is still 1. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=10.1.5&t=3)
5. **The control plane is back: the journal replays** (t+4.650s): The control plane starts at 4400, and replay jobs commit the journal, one file per commit time. The simulator runs them in Agent id order, each Agent's files in upload order (WarpStream's docs promise no order). agent-1's file commits first, at 4600: k4, acked later, gets offset 1 of partition 2. agent-3's file with k3 still waits in the journal. The replay acks nobody: both producers were acked at the upload. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=10.1.5&t=4)
6. **The az-c batch acked first lands after the az-a batch acked later** (t+6.000s): At 4800 agent-3's file commits, and k3 gets offset 2. p-c was acked at 3250, before p-a at 3650, yet its record sits after p-a's in the log: WarpStream's docs say Ripcord gives no external consistency. At 4800 c1 commits the offsets it read before the outage and reads k4; at 5400 it reads k3, and at 6000 it commits offset 3 of partition 2. The journal is empty, every acked record was read once, and p-idem's k5 was never written. [Open at this step](https://monedula.dev/kafka-simulator/playground/?scenario=10.1.5&t=5)

## The takeaway

With Ripcord on, produce went on while the control plane was down: agent-3 and agent-1 wrote their files, acked p-c and p-a with offset 0 and kept the files in a journal. p-idem, idempotent, was refused, and c1 read nothing until the control plane was back. The replay then committed agent-1's file before agent-3's, so k3, acked first, got offset 2, after k4 at offset 1. Every acked record was read once, and the journal emptied. WarpStream facts: Ripcord writes the file and acks with offset 0, and commits it later from a journal; idempotence and transactions must be off; there is no external consistency, and consumers stop. Simulator choices: the replay runs in Agent id order, each Agent's files in upload order (the docs promise no order); the refusal of the idempotent producer, with INVALID_REQUEST (the docs say only that idempotence must be off); the control plane is one up/down entity, noticed at once; REQUEST_TIMED_OUT for fetch and COORDINATOR_NOT_AVAILABLE for the group (the docs name no codes); and the 500 ms batchTimeout, 600 ms upload and 200 ms commit are slowed figures so each phase is a frame.

## Further reading

- [WarpStream documentation](https://docs.warpstream.com/warpstream/kafka/advanced-agent-deployment-options/ripcord)

## Troubleshooting

- [TimeoutException in Kafka producers: causes and fixes](https://monedula.dev/kafka/troubleshooting/producer-timeout-exception/)
- [COORDINATOR_NOT_AVAILABLE in Kafka: causes and fixes](https://monedula.dev/kafka/troubleshooting/coordinator-not-available/)
- [InvalidRequestException in Kafka: INVALID_REQUEST](https://monedula.dev/kafka/troubleshooting/invalid-request-exception/)
