Skip to content

Apache Kafka

Right-click in the tree ▸ Add ▸ Kafka request.

A Kafka tab in Consume mode: the broker list, the topic, the group ID, the "earliest" starting offset and the partition filter

FieldRole
URLThe comma-separated broker list: hote1:9092,hote2:9092 — the whole string is resolved by Handlebars before being split
Client identifierThe clientId announced to the brokers
TopicThe topic, whatever the mode
Modeproduce, consume or browse
FieldValues
SASL mechanismnone, plain, scram-sha-256, scram-sha-512
SASL user / SASL passwordThe password accepts a Secret-typed value
TLSToggled independently — a TLS broker without SASL works with the none mechanism

Key, value, record headers and, optionally, partition. Without an explicit partition, the client library’s default partitioner applies. The response returns the written record’s metadata: topic, partition, offset.

FieldRole
GroupThe consumer’s groupId
Starting offsetearliest, latest or specific
Specific offsetA string — Kafka offsets are 64-bit integers
PartitionsA client-side filter: partition assignment is still done by the group

Inspects a partition without a consumer group: Restorm takes a bounded number of messages from it then disconnects. The partition is mandatory in this mode.

This is the right tool for looking at what is in a topic without creating a group or moving an offset.

  • Kafka produce — a single-shot action, returns the record’s metadata;
  • Kafka consume — subscribes through the consumer group and emits one event per message;
  • Kafka close — stops consuming.

See Connections and streams.

Five targets: JavaScript (kafkajs, for producing and consuming) and kcat (produce, consume, inspect without a group).