Sending a Message
Select a connector
At the top of the request card, open the Connector dropdown and choose the Kafka or RabbitMQ connector you want to send through. Connectors are the named broker connections configured in your Devset instance.
Set the target
Enter the destination for your message. The fields shown depend on the broker type:
- Kafka
- RabbitMQ
Enter the Topic name you want to publish to.Optionally configure:
- Key — the Kafka message key used for partition routing.
- Headers — additional key-value metadata attached to the message envelope.
Compose the payload
Write your message payload in the Payload Editor. You can switch between two modes:
- Raw JSON — type or paste a JSON object directly.
- Function Studio — use dynamic field expressions (see the Flow Builder guide for an overview of expression modes such as
FN,REF, andWHEN).
Attach a schema (optional)
In the Schema section of the request card, select a schema ID from the Schema Repo. Devset uses the schema to validate JSON payloads before sending, or to encode Protobuf payloads into binary wire format. Configure Wire Format settings if you are using Protobuf.
Organizing Requests with Collections
Collections are named groups of saved requests. They let you organize related messages — for example, all messages related to an order lifecycle — and re-send them quickly without re-filling the form.Save a request
After composing a request, click Save. The save modal prompts you for a name and a collection. Choose an existing collection or type a new name to create one.
Open a saved request
In the Collections panel on the left, expand a collection and click any saved request to load it back into the request card.
Attaching a Schema for Validation and Encoding
The Schema section of the request card connects a dispatch request to a definition in the Schema Repo.- JSON Schema — Devset validates the payload structure before sending. Validation errors surface inline in the payload editor.
- Protobuf — Devset encodes the JSON object into binary Protobuf format using the linked
.protodefinition before placing the message on the broker. Configure the Wire Format options to match your consumer’s expectations.
schemaId you assigned when creating the schema in the Schema Repo.
Reviewing Past Dispatches
The History panel on the right side of the screen logs every message you have sent in the current session. Each entry shows the connector, target, and a timestamp. Click any history entry to open a preview modal showing the full request details — connector, target, headers, and the exact payload that was sent. This is useful for confirming what was dispatched and for debugging unexpected broker behavior.History is session-scoped. Refreshing the page clears the history panel. Save any requests you want to keep to a collection before closing the tab.