mqtt5

Found an error? Have a suggestion?Edit this page on GitHub

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 NameTypeDescription
sessionExpiryIntervalSchema Object | Reference Object | integerSession Expiry Interval in seconds or a Schema Object containing the definition of the interval.
bindingVersionstringThe 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.0
1servers:
2  production:
3    bindings:
4      mqtt5:
5        sessionExpiryInterval:
6          type: integer
7          minimum: 100
8        bindingVersion: 0.2.0

Channel 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.

Was this helpful?
Help us improve the docs by adding your contribution.
OR
Github:AsyncAPICreate Issue on GitHub