---
title: "monedula-sim-bridge"
description: "A local Go program that lets real Apache Kafka clients produce, consume and join consumer groups on a Kafka Simulator free-play cluster."
url: https://monedula.dev/flock/docs/sim-bridge/
---
`monedula-sim-bridge` runs on your computer and lets your own Kafka clients talk to the [Kafka Simulator playground](/kafka-simulator/playground/). It listens on `127.0.0.1`, takes the Kafka protocol requests of your clients and relays them over a local WebSocket to the playground tab, which answers them from the simulated cluster. Your apps show up on the canvas next to the simulated producers and consumers.

## What it does

With the bridge paired to a free-play session, stock clients with their default settings can produce (idempotent, transactional or neither), consume, join consumer groups with the classic or the KIP-848 consumer protocol, commit offsets, run Kafka Streams with exactly-once, and use admin tools on topics, configs, groups, transactions and records. Kill a broker on the canvas and the real client sees the errors a real cluster sends, then moves to the new leader. [How it works](/flock/docs/sim-bridge/concepts/how-it-works/) explains the path of a request.

Nothing connects until you ask: the playground opens no local connection before you press Connect in its **Connect your apps** panel, and the bridge accepts only the simulator and the pairing code it printed. See [Security](/flock/docs/sim-bridge/concepts/security/).

## Try it

```bash
monedula-sim-bridge
```

It prints its version, a pairing code and the WebSocket address, then waits:

```text
monedula-sim-bridge 1.0.1
Pairing code: K7Q2MZ
WebSocket:    ws://127.0.0.1:19190/
```



Enter the code in free play, then point a client at `bootstrap.servers=127.0.0.1:19092`. [Connect your first app](/flock/docs/sim-bridge/tutorials/connect-your-first-app/) walks through it.

## Install

<Tabs group="sim-bridge-install" labels={['go install', 'GitHub Release']} label="Install method">

```bash
go install github.com/monedula-dev/monedula-sim-bridge/cmd/monedula-sim-bridge@v1.0.1
```

```bash
VERSION=1.0.1
curl -L -o monedula-sim-bridge.tar.gz \
  https://github.com/monedula-dev/monedula-sim-bridge/releases/download/v${VERSION}/monedula-sim-bridge_${VERSION}_linux_amd64.tar.gz
tar -xzf monedula-sim-bridge.tar.gz monedula-sim-bridge
```

</Tabs>

Building from source needs Go 1.26 or newer. The release example fetches `linux_amd64`; the [releases page](https://github.com/monedula-dev/monedula-sim-bridge/releases) has the other platforms. `monedula-sim-bridge --version` prints the installed version.

### Verify a release archive

Each release signs one file, `checksums.txt`, with cosign keyless signing through GitHub OIDC, so there is no public key to manage. The archives are not signed one by one: you trust the checksums file through its signature, then check the archive against it. You need [cosign](https://github.com/sigstore/cosign) and `sha256sum`.

```bash
VERSION=v1.0.1
curl -LO https://github.com/monedula-dev/monedula-sim-bridge/releases/download/$VERSION/checksums.txt
curl -LO https://github.com/monedula-dev/monedula-sim-bridge/releases/download/$VERSION/checksums.txt.sig
curl -LO https://github.com/monedula-dev/monedula-sim-bridge/releases/download/$VERSION/checksums.txt.pem

cosign verify-blob \
  --certificate-identity-regexp '^https://github.com/monedula-dev/monedula-sim-bridge/.*' \
  --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
  --signature checksums.txt.sig \
  --certificate checksums.txt.pem \
  checksums.txt
```

A successful verification prints `Verified OK`. Then check your archive against its line in the checksums file, before you extract it:

```bash
ARCHIVE=monedula-sim-bridge_1.0.1_linux_amd64.tar.gz
grep "$ARCHIVE" checksums.txt | sha256sum -c -
```

Each archive also has a Syft SBOM next to it, `<archive>.sbom.json`. The SBOMs are plain files, not signed attestations. To scan one for known vulnerabilities, run `grype sbom:<archive>.sbom.json`.

## Requirements

- Chrome, Edge or Firefox. Safari blocks the local WebSocket from an https page.
- A free-play session of the playground. Scripted scenarios and embedded playgrounds do not offer the bridge.
- Kafka clients on the same computer as the bridge, which listens on `127.0.0.1` only.

## Where to start

- [Connect your first app](/flock/docs/sim-bridge/tutorials/connect-your-first-app/) with the console tools.
- [Use the Java client](/flock/docs/sim-bridge/how-to/use-the-java-client/), [run a consumer group](/flock/docs/sim-bridge/how-to/run-a-consumer-group/) and [create topics](/flock/docs/sim-bridge/how-to/create-topics/).
- [Watch a client fail over](/flock/docs/sim-bridge/how-to/watch-a-client-fail-over/) when you kill a broker.
- [Limits](/flock/docs/sim-bridge/concepts/limits/) before you plan anything bigger.
- The reference: [command-line flags](/flock/docs/sim-bridge/reference/cli/), [supported APIs](/flock/docs/sim-bridge/reference/supported-apis/), [error codes](/flock/docs/sim-bridge/reference/error-codes/) and [compatibility](/flock/docs/sim-bridge/reference/compatibility/).



## Version and license

These docs describe monedula-sim-bridge 1.0.1. The tool is open source under the Apache-2.0 license, and its source is on [GitHub](https://github.com/monedula-dev/monedula-sim-bridge).

Apache Kafka, Kafka and the Kafka logo are trademarks of the Apache Software Foundation. monedula-sim-bridge is an independent project that works with Apache Kafka clients; it is not affiliated with, endorsed by or sponsored by the ASF.