--- url: "https://asyncapi.com/docs/reference/bindings/mqtt5" titulek: "mqtt5 | AsyncAPI Initiative for event-driven APIs" h1: "mqtt5" popis: "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" jazyk: "en" kanonicka: "" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 02:46:51" znaku: 2181 slov: 251 kodovani: "utf-8" sha256: "48ce93fabe6ffd0762f40092dd0cf17c04a2505a087d24c9aa8c2f2f2805c32f" --- ##### On this page MQTT 5 Bindings **Deprecation Warning**: MQTT version 5 specific bindings are deprecated in favor of MQTT bindings that are not version specific. Version Server Binding Object Channel Binding Object Operation Binding Object Message Binding Object # mqtt5 Found an error? Have a suggestion?[Edit this page on GitHub](https://github.com/asyncapi/bindings/tree/master/mqtt5.md) # 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](../mqtt/README.md) 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](https://github.com/asyncapi/spec/blob/master/spec/asyncapi.md#schemaObject) \| [Reference Object](referenceObject) \| 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 ``` servers: production: bindings: mqtt5: sessionExpiryInterval: 60 bindingVersion: 0.2.0 ``` ``` servers: production: bindings: mqtt5: sessionExpiryInterval: type: integer minimum: 100 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. [Go Backmqtt](/docs/reference/bindings/mqtt) [Up Nextnats](/docs/reference/bindings/nats) Was this helpful? Help us improve the docs by sharing your feedback. [Submit Feedback](https://github.com/asyncapi/website/issues/new?template=docs-feedback.yml&title=Docs%20Feedback%3A%20%2Fdocs%2Freference%2Fbindings%2Fmqtt5&labels=%F0%9F%93%91%20docs) OR [Create Issue on GitHub](https://github.com/asyncapi/website/issues/new/choose)