MQTT 5 Bindings
This document defines how to describe MQTT 5-specific information on AsyncAPI.
Deprecation Warning: MQTT version 5 specific bindings are deprecated in favor of MQTT bindings that are not version specific.
Version
Current version is 0.2.0.
Server Binding Object
This object contains information about the server representation in MQTT5.
Fixed Fields
| Field Name | Type | Description |
|---|---|---|
sessionExpiryInterval | Schema Object | Reference Object | integer | Session Expiry Interval in seconds or a Schema Object containing the definition of the interval. |
bindingVersion | string | The version of this binding. If omitted, "latest" MUST be assumed. |
This object MUST contain only the properties defined above.
Example
1servers:
2 production:
3 bindings:
4 mqtt5:
5 sessionExpiryInterval: 60
6 bindingVersion: 0.2.01servers:
2 production:
3 bindings:
4 mqtt5:
5 sessionExpiryInterval:
6 type: integer
7 minimum: 100
8 bindingVersion: 0.2.0Channel Binding Object
This object MUST NOT contain any properties. Its name is reserved for future use.
Operation Binding Object
This object MUST NOT contain any properties. Its name is reserved for future use.
Message Binding Object
This object MUST NOT contain any properties. Its name is reserved for future use.