Browse documentation

Replay and Export Kafka Messages

In Kafma, replay loads an existing record into the producer for the same or another topic in its cluster. You can replay, forward, or export messages directly from the Console without copying payloads between views.

Replay Kafka messages to a topic

Open a message’s action menu and select Replay to topic. Choose the current topic or another topic in the same cluster. Kafma opens the target Console tab, expands its producer, and fills in the message’s key, value, and headers.

Review or edit the draft, then select Produce. Replay does not write anything until you produce the draft. Replaying to the current topic keeps the original partition; another topic starts with Partition set to Auto.

Choosing a topic to replay a Kafka message to in Kafma

Forward Kafka messages to another cluster

Use Forward to cluster in a message’s action menu to send one record. To forward the current search and partition filter results, use Forward in the Console toolbar.

Forward sends records immediately to the same topic name on the destination cluster. If the topic does not exist, Kafma creates it with the source partition count.

Forward does not copy Schema Registry subjects or preserve schema encoding. Decoded schema messages are sent as plain JSON or text. Use Data Clone when the destination needs schemas and Confluent wire-format records. Forwarding into a Production cluster is disabled.

Messages that cannot be fully loaded or decoded are skipped rather than sent with incomplete data. The result reports how many records were sent, skipped, or failed.

Export Kafka messages as JSON or CSV

Apply a search or partition filter, then open Export in the Console toolbar. The export contains the current filtered set, not the hidden records.

JSON exports an array; CSV writes one row per record. Both include the timestamp, partition, offset, key, and value, with headers when present. CSV also records whether the key or value is null. Export uses the active decoding formats; failed decodes are saved as full hex with the error instead of being discarded.

To save one message, open its action menu and select Save to file. A single record is saved as JSON.

Exporting the current filtered Kafka messages as CSV or JSON in Kafma

Next steps