Eclipse Mosquitto
Pub/Sub topicmosquitto
Lightweight single-process MQTT broker, in-memory unless persistence is turned on.
- Provider
- default
- Kind
- Pub/Sub topic
- Category
- Messaging
- Official docs
- https://mosquitto.org/man/mosquitto-conf-5.html
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| allowAnonymous | boolean | — | no | false | inherited |
| delivery | enum | at-most-once | at-least-once | exactly-once | yes | — | ▸ at-most-once |
| managed | boolean | — | no | false | ▸ false |
| maxQueuedMessages | integer | — | no | 1000 | inherited |
| mqttVersion | enum | v3-1 | v3-1-1 | v5 | no | v5 | inherited |
| ordering | enum | none | per-key | no | none | ▸ per-key |
| persistence | boolean | — | no | false | inherited |
| replay | boolean | — | no | false | ▸ false |
| topicPerEventType | boolean | — | no | true | inherited |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
pubsub-replay-required
The design declares that consumers must be able to replay history. A fan-out topic that does not retain messages cannot deliver that.
- — all of these hold:
- — the design requirement `messaging.replay` is true
- — the node's `replay` is false
nodes:
- { id: "mosquitto", component: "mosquitto" }EventBridgealibaba-eventbridgeAmazon EventBridgeaws-eventbridgeAmazon SNSsnsAzure Event Gridazure-event-gridAzure Event Grid MQTT Brokerazure-event-grid-mqttMQTT brokermqtt-brokerNanoMQnanomqGeneric Pub/Sub topicpubsub-topicRedis Pub/Subredis-pubsubEventarcgoogle-eventarcGoogle Cloud Pub/Subgoogle-pubsubOCI Eventsoci-events
# yaml-language-server: $schema=../../schema/component.schema.json # Eclipse Mosquitto: single-process MQTT broker. "mosquitto.conf" states persistence defaults to false # (memory only), max_queued_messages is 1000 per client, allow_anonymous is false once a listener is # defined, retained messages are supported and listeners accept MQTT 3.1, 3.1.1 and 5 by default. schemaVersion: "1" type: "component" id: "mosquitto" kind: "pubsub-topic" provider: "default" docs: "https://mosquitto.org/man/mosquitto-conf-5.html" defaults: delivery: "at-most-once" ordering: "per-key" replay: false managed: false properties: persistence: type: "boolean" default: false maxQueuedMessages: type: "integer" default: 1000 allowAnonymous: type: "boolean" default: false mqttVersion: type: "enum" values: ["v3-1", "v3-1-1", "v5"] default: "v5"