Eclipse Mosquitto

Pub/Sub topicmosquitto

Lightweight single-process MQTT broker, in-memory unless persistence is turned on.

Provider
default
Category
Messaging
Properties · 4 set by this component
propertytypevaluesrequiredkind defaultthis component
allowAnonymous · component propertyboolean—nofalseinherited
deliveryenumat-most-once | at-least-once | exactly-onceyes—▸ at-most-once
managedboolean—nofalse▸ false
maxQueuedMessages · component propertyinteger—no1000inherited
mqttVersion · component propertyenumv3-1 | v3-1-1 | v5nov5inherited
orderingenumnone | per-keynonone▸ per-key
persistence · component propertyboolean—nofalseinherited
replayboolean—nofalse▸ false
topicPerEventType · advancedboolean—notrueinherited
Rules that apply · 1

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
Use it in a design
nodes:
  - { id: "mosquitto", component: "mosquitto" }
Other Pub/Sub topic products · 12
Source
# 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"

The same page as markdown, for an agent: /catalogue/components/mosquitto.md