MQTT 5 Payload Format Description | MQTT Essentials Part 7

preview_player
Показать описание
Payload Format Description is a new interoperability feature for complex, large-scale projects, with multiple vendors.

How does Payload Format Description work?
It consists of two attributes, that can be part of any MQTT packet containing a payload.

1. Payload Format Indicator
Optional Boolean value indicating an “unspecified byte stream” (value “0”) or an “UTF-8 encoded payload” (value “1”)

2. Content Type
Optional UTF-8 string identifying the kind of UTF-8 encoded payload

Why describe the Payload Format?
The Payload Format Description defines the next step in industry-wide standards for MQTT with variable payload formats. It ensures each message is correctly processed and parsed by the receiving client, without the need to look inside the actual payload.

*** Chapters / Table of Contents ***
00:00 Introduction to Payload Format Description in MQTT5
00:44 How Payload Format Description works in MQTT5
01:44 Why describe the Payload Format?
02:58 Announcing part 8: Request-Response Pattern in MQTT5



#MQTT #MQTT5 #MQTTEssentials
Рекомендации по теме
Комментарии
Автор

I felt this was not necessary as we could use "User Properties" to specify that Payload Format Description.

saumilkapadia