Monedula

Limits

What monedula-sim-bridge does not do - transactions and KIP-848 on some setups, simulated groups, ACLs, Safari - and its caps on rate and retention.

Concepts 3 of 4

10 min read

Updated 29 November 2026

Markdown

On this page

The Kafka Simulator is a teaching cluster that you watch, not a test broker. The bridge refuses what it cannot do faithfully, and caps what would make the canvas unreadable.

Not supported

What What happens
Transactions on some setups Free play takes transactions on classic topics and on AutoMQ, WarpStream and Redpanda, which support them. The others answer as their implementation does: Nisshi refuses every transactional.id with TRANSACTIONAL_ID_AUTHORIZATION_FAILED, and KafScale, which implements no transaction API, with UNSUPPORTED_VERSION. Ursa and Inkless refuse a diskless topic in a transaction, with INVALID_TOPIC_EXCEPTION when the client adds the partition and INVALID_REQUEST on a transactional produce; the KIP-1163 draft refuses a transactional produce to a diskless topic with INVALID_TXN_STATE. Their classic topics take transactions.
Transaction admin tools on some setups kafka-transactions.sh describe-producers and find-hanging need DescribeProducers and abort needs WriteTxnMarkers. WarpStream has neither and Redpanda has no WriteTxnMarkers, so those commands get UNSUPPORTED_VERSION there.
The KIP-848 consumer protocol on some setups AutoMQ, Redpanda, KafScale, Nisshi and Ursa have no KIP-848 protocol at the versions the simulator follows, so the first heartbeat of a client set to group.protocol=consumer gets UNSUPPORTED_VERSION with a message naming the setup. franz-go falls back to the classic protocol; the Java client stops, as against a broker without the API.
Joining a simulated group A group id that the simulator runs as a simulated group is refused with INCONSISTENT_GROUP_PROTOCOL. Real and simulated consumers do not share a group.
ACLs The bridge has no authorizer. DescribeAcls, CreateAcls and DeleteAcls are answered with SECURITY_DISABLED, as by a broker with no authorizer configured, so admin tools show ACLs as not enabled.
Purging a compacted topic DeleteRecords on a topic whose cleanup.policy is compact alone is refused with POLICY_VIOLATION, as Kafka does.
Broker config changes Broker configs can be read, not changed: no broker config is dynamic in the simulator (INVALID_REQUEST).
Deleting topics The free-play base topics cannot be deleted, nor a topic something in the simulation uses (a simulated producer, group or sink): POLICY_VIOLATION. Additional topics and topics real clients created leave the running cluster, as from the Topics panel.
SASL and TLS The ports are plaintext on 127.0.0.1.
Clients on another machine or in a container The bridge listens on 127.0.0.1 and tells clients to use 127.0.0.1 addresses.
Safari WebKit treats ws://127.0.0.1 from an https page as mixed content and blocks it. Use Chrome, Edge or Firefox.
Phones The Connect your apps entry is hidden below 700 pixels of width.
Scripted scenarios and embeds The bridge pairs with free play in the full playground only.

Caps

Cap Value Why
Produce rate 200 records a second per app, saved up to 3000, and at most 1000 records of all apps together in one 1200 ms tick Every record stays in the session: the playground keeps it in its event log, so memory grows with the records written. An app that has saved up its quota writes a backlog at once, up to 1000 records a tick: a Kafka Streams app with exactly_once_v2 and its 10 second transaction timeout catches up on a backlog of up to 3000 records inside one transaction. Over the quota, records wait for later ticks and the client is told to slow down with a throttle time. A sustained rate above 200 records a second falls behind, and a Streams app’s transactions then time out as on a broker that cannot keep up. On a slower laptop the tab itself can fall behind first, because it draws every record: measured with the CPU slowed four times, the page kept up at 50 records a second but fell behind after about two minutes at 200, and clients then timed out. If your clients time out while the playground looks busy, produce more slowly or use a faster machine.
Records kept The newest 1000 per partition, on a topic that keeps records only because of the bridge Older offsets become gaps, which clients skip as they do after compaction.
Topic names Kafka’s: at most 249 characters of letters, digits, ., _ and -, not . or .. Refused with INVALID_TOPIC_EXCEPTION and Kafka’s message, so Kafka Streams’ internal topics with generated names, such as streams-wordcount-KSTREAM-AGGREGATE-STATE-STORE-0000000003-repartition, work. The canvas and the Inspector shorten a long name; the terminal and your clients see it whole. Topics you create in the playground itself, from the Topics panel or the terminal, keep 40 characters, since the share link carries them.
Topics At most 6 besides the one free play starts with, and as many partitions per topic as the topology can draw The free-play caps of the playground, the same as for kafka-topics --create in its terminal. Over a cap is POLICY_VIOLATION.
Request size 64 MiB of records per produce request, counting each record’s decompressed size, and at least 128 bytes a record A partition over it is refused with UNSUPPORTED_COMPRESSION_TYPE.
Paired tabs One per bridge A second tab is told another tab is connected.

Realtime mode

Approximations

  • Time. The simulated cluster advances one step per 1200 ms tick, so end-to-end latency is in seconds, not milliseconds. Record timestamps are simulation time placed on your clock: the moment the tab pairs is the simulation’s time at that moment, so clients and admin UIs show today’s dates. A lookup by timestamp uses the same clock.
  • Failover timing. A new leader is elected about a second after a hard kill, where Kafka first waits broker.session.timeout.ms, and a restarted broker takes its leadership back at once, where Kafka waits for its next leader-imbalance check. Clients see the errors and retries of a real failover, on a different clock: Tested against Apache Kafka compares them.
  • Values of simulated records. A record from a simulated producer has no real value; a consumer gets its key as the value. On a compacted topic a null value stays a tombstone.
  • Record headers. Consumers get records without headers, whatever the producer sent.
  • Server-side regular expressions. A subscribe(SubscriptionPattern) regex is read with RE2/J’s syntax and refused with its messages, as Kafka 4.4 does, and matched against the topics the playground serves. Kafka also matches its internal topics, such as __consumer_offsets, which the playground does not serve. A regex is resolved right after the heartbeat that brings it, where Kafka resolves it on a background thread a moment later; a created topic is picked up, as on Kafka, at a heartbeat once 10 seconds passed since the last resolution.
  • Transaction markers. Your clients’ commit and abort markers take an offset each, as Kafka’s control records do, and consumers get them as control batches, which they skip; on WarpStream they take none, as WarpStream reserves no offset for them. An admin’s marker takes one too, also for a producer with no open transaction on the partition (kafka-transactions.sh abort --producer-id), as Kafka’s partition leader writes it. The markers of the playground’s own transactional producers take no offset, so a partition they write to ends one lower per transaction than on Kafka.
  • AutoMQ’s zone router. AutoMQ takes a client’s zone from automq_az=<zone> in its client.id, or from its address with automq.zone.cidr.blocks. Your clients have no zone in the playground, so with the router on their produce requests go to the partition leader, as a client without a zone does on AutoMQ, and the leader appends them at once, where AutoMQ 1.7.4 still passes them through the leader’s own router channel in S3 before they get their offsets. A transaction of yours starts at the offset its first record takes, as on Kafka.
  • Transaction admin tools. kafka-transactions.sh list, describe, describe-producers, find-hanging and abort show and act on your clients’ transactions and producers; the playground’s own producers are not listed. A producer’s coordinator epoch is -1 until a marker was written for it on the partition and 0 after, where Kafka shows the epoch of the coordinator that wrote the marker, which grows when the coordinator moves.
  • List offsets by time. A lookup by timestamp reads the records the playground keeps, so it finds nothing past the newest 1000 records of a bridge-only topic.
  • Purging records. DeleteRecords moves the log start offset right away: the simulated replicas share one log start, so the low watermark in the answer is the new log start, not the lowest of the replicas’ as on a broker. On a bridge-only topic it works on the offsets, not on the 1000 records kept: a purge below the oldest kept record deletes nothing you could still read, and offsets between the new log start and the oldest kept record stay gaps. While a simulated transaction is open on the partition, the log start stops at its first offset. The deletion is in the share link; on a topic that only real clients created, the link has no such topic and the deletion does nothing on reload.
  • Simulated groups in admin tools. ListGroups shows the playground’s own groups too, with their members and partitions. A simulated group with the default cooperative-sticky assignor is a KIP-848 group (ConsumerGroupDescribe, assignor uniform, epoch 1); one with range, roundrobin or sticky is a classic group (DescribeGroups). The model has no group epoch. Groups of real clients on the consumer protocol show their real group, assignment and member epochs.
  • Topic ids. Every topic has a topic id, and one deleted and created again under the same name gets a new one, as on Kafka: a consumer group on the consumer protocol moves on to the new topic, and a request with the old id gets UNKNOWN_TOPIC_ID. The ids are derived from the name and how many times it was deleted while your clients were connected, so a share link replays the same ids. A rebuild of the playground’s cluster (adding a topic from the Topics panel or the terminal, or changing the topology) keeps every topic’s id, where a new Kafka cluster would give each topic a new one.
  • Topic configs from admin tools. Only the topic configs the playground models can be changed, with the terminal’s kafka-configs validation; another config is refused with INVALID_CONFIG.
  • Disk usage. Log directory sizes are the playground terminal’s teaching scale, records x 1 KiB, not real bytes.
  • The controller quorum. DescribeQuorum shows the simulated KRaft voters as nodes 1001, 1002, and so on, and the brokers as observers. Fetch timestamps are not modeled.
  • Committed offsets of real groups live for the page session; a reload loses them.