Azure Event Grid MQTT Broker

azurePub/Sub topicazure-event-grid-mqtt

MQTT v3.1.1 and v5 pub-sub broker in an Event Grid namespace, with routing of MQTT messages to Azure services.

Provider
azure
Category
Messaging
Properties · 5 set by this component
propertytypevaluesrequiredkind defaultthis component
clientAuthentication · component propertyenumx509 | entra-id | oauth-jwt | webhooknox509inherited
deliveryenumat-most-once | at-least-once | exactly-onceyes—▸ at-least-once
managedboolean—nofalse▸ true
mqttVersion · component propertyenumv3-1-1 | v5nov5inherited
orderingenumnone | per-keynonone▸ none
replayboolean—nofalse▸ false
retainedMessages · component propertyboolean—notrueinherited
routingToTopic · component propertyboolean—nofalseinherited
sharedSubscriptions · component propertyboolean—nofalseinherited
topicPerEventType · advancedboolean—notrue▸ false
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: "event-grid-mqtt", component: "azure-event-grid-mqtt" }
Other Pub/Sub topic products · 12
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Event Grid MQTT broker (namespace): MQTT v3.1.1 / v5 pub-sub over topic filters, QoS 0 and 1 only
# (QoS 2 is not supported), retained messages hold the last value but there is no message replay.
# Facts from "MQTT (PubSub) Broker - Azure Event Grid".
schemaVersion: "1"
type: "component"
id: "azure-event-grid-mqtt"
kind: "pubsub-topic"
provider: "azure"
docs: "https://learn.microsoft.com/en-us/azure/event-grid/mqtt-overview"
defaults:
  managed: true
  delivery: "at-least-once"
  ordering: "none"
  replay: false
  topicPerEventType: false
properties:
  mqttVersion:
    type: "enum"
    values: ["v3-1-1", "v5"]
    default: "v5"
  retainedMessages:
    type: "boolean"
    default: true
  sharedSubscriptions:
    type: "boolean"
    default: false
  clientAuthentication:
    type: "enum"
    values: ["x509", "entra-id", "oauth-jwt", "webhook"]
    default: "x509"
  routingToTopic:
    type: "boolean"
    default: false

The same page as markdown, for an agent: /catalogue/components/azure-event-grid-mqtt.md