Skip to content

Event ​

Connect flows to event streams: Kafka, MQTT and NATS. Each has a subscriber, which starts the flow for every message, and a publisher, which sends records out.

text
Kafka subscriber → Json deserializer → ... your logic → Kafka publisher

Messages travel as EventData records: a CloudEvents 1.0 event with the payload, the headers and the channel it came from.

Plugins ​

PluginWhat it doesPins
Kafka publisherPublishes every incoming record as a message to a Kafka topic. Accepts either a ready-made EventData (key, headers, timestamp, binary payload) or a TextRecord whose text becomes the payload.Input, Continue
Kafka subscriberSubscribes to one Kafka topic and emits every received message as an EventData record. Use it as the starting point of a flow that reacts to Kafka events.Start, Continue
MQTT publisherPublishes every incoming EventData record as a message to an MQTT topic. Use it to send events or telemetry to an MQTT broker.Input
MQTT subscriberSubscribes to an MQTT topic (or topic filter) and emits every received message as an EventData record. Use it as the starting point of a flow that reacts to MQTT messages.Start, Continue
NATS publisherPublishes every incoming EventData record to a NATS subject (core NATS, at-most-once) using the CloudEvents NATS binding in binary content mode: attributes travel as ce-* headers, the payload is the raw message body.Input, Continue
NATS subscriberSubscribes to a NATS subject (core NATS, at-most-once) and emits every received message as an EventData record, strictly in arrival order. CloudEvents attributes are read from ce-* headers (NATS binding, binary content mode). Use it as the starting point of a flow that reacts to NATS messages.Start, Output

Viaducta documentation