SlideShare a Scribd company logo
Copyright © by HiveMQ. All Rights Reserved.
WELCOME TO OUR WEBCAST
We will start this session shortly
How MQTT 5 Makes Difficult
IoT Use Cases Possible
Welcome to Our Webinar
Copyright © by HiveMQ. All Rights Reserved.
Speaker
Florian Raschbichler
Head of Support at HiveMQ
Florian serves as the head of the
HiveMQ support team with years of
first-hand experience overcoming
challenges in achieving reliable,
scalable, and secure IoT messaging
for enterprise customers.
https://www.linkedin.com/in/fraschbi/
@fraschbi
Copyright © by HiveMQ. All Rights Reserved.
• Enhancement for scalability and large scale systems
• Better error handling for more robust systems
• More scalability for cloud-native computing
• Formalize common patterns including capability discovery and
request response
• Performance improvements and support for small clients
MQTT 5 – Quick Intro
The most feature-rich update of the MQTT protocol ever!
Copyright © by HiveMQ. All Rights Reserved.
• Connected cars
• Home automation
• Manufacturing systems
• Transportation
• Logistics
• Enterprise chat applications
• Mobile apps
Popular Use Cases
Copyright © by HiveMQ. All Rights Reserved.
• Topic Aliases
• Shared Subscriptions
• Request-Response Pattern
• User Properties
• Session and Message Expiry
• Payload Type Descriptors
• Enhanced Authentication
MQTT 5 – Rich Feature Set
Deep Dive into Primary
Feature Set of MQTT 5
Explained with Use Case Examples
Copyright © by HiveMQ. All Rights Reserved.
Topic Aliases
Helps Save Bandwidth and Memory
Negotiated individually between client and broker
Certain topics get exchanged with integer alias instead of a string
value
Copyright © by HiveMQ. All Rights Reserved.
Benefits of Topic Aliases
Save data as the consumer
Ensures low latency and limited data consumption for high frequency messaging
Removes bandwidth usage from network as the provider
Copyright © by HiveMQ. All Rights Reserved.
Topic Aliases
Helps Save Bandwidth and Memory
Copyright © by HiveMQ. All Rights Reserved.
● Vehicle to Anything (V2X)
● High frequency messaging (10hz or more)
● Tens or hundreds of thousands of devices (cars, phones, sensors, traffic lights ..)
● Deep topic structure for services, layers and geo location
● Example calculation
○ Topic as String:
Europe/Sweden/Stockholm/North-East/Tile121/Priority/Pedastrian-Alert
= 68 bytes
○ Topic as Integer = 4 bytes
○ 64 bytes * 10.000 cars * 10hz ~ 6 MB/s
=> ~ 15 TeraByte per month for 1 sensor
● Useful for OEMs, ISPs and service provides (cities)
V2X Use Case
Copyright © by HiveMQ. All Rights Reserved.
Shared Subscriptions
Special syntax
Multiple clients can share the load on a topic
Client load balancing mechanism
Copyright © by HiveMQ. All Rights Reserved.
Shared Subscriptions
Copyright © by HiveMQ. All Rights Reserved.
Shared Subscriptions’ Example
Without Shared Subscription Group With Shared Subscription Group
Copyright © by HiveMQ. All Rights Reserved.
● Facilitates scalable consumer infrastructure
● Provides good message throughput even for slow message
processing situations
● High availability for consumers
● Enables really high volume messaging with shared consumer of
messages
Benefits of Shared Subscriptions
Copyright © by HiveMQ. All Rights Reserved.
● Connected cars
● Up to tens of millions of concurrently connected vehicles
● Individual topics for cars (VIN/telemetry)
● Shared wildcard topic for consumer ($share/data-lake/+/telemetry)
● Persist information to single data source
● Enables central calculations (i.e. predictive maintenance)
Vehicle Telemetry Persistence
Copyright © by HiveMQ. All Rights Reserved.
Request - Response Pattern
Still fully asynchronous
“Business acknowledgement” on top of regular given MQTT delivery guarantees
Pattern of communication that allows feedback to sender of messages
Enables extensible, dynamic, and transparent implementation of
“business acknowledgement” functionality
Copyright © by HiveMQ. All Rights Reserved.
Benefits of Request - Response Pattern
• Enables use cases that require guaranteed delivery and processing of
messages
• Any time you are dealing with sensitive commands (For example,
door lock/unlock, sending/receiving temperature, etc.)
• Provides a standardized framework for end-to-end acknowledgements
• Command audit
Copyright © by HiveMQ. All Rights Reserved.
Request - Response Pattern
Copyright © by HiveMQ. All Rights Reserved.
User Properties
Provide near endless extensibility to most MQTT packets
Commonly known from other technologies like HTTP or Kafka
Arbitrary number of Key-Value String pairs
Copyright © by HiveMQ. All Rights Reserved.
User Properties
Offers Limitless Possibilities to Apply Additional Logic
Copyright © by HiveMQ. All Rights Reserved.
• Add message-id to PUBLISH packets
• End-to-end tracing of messages, potentially across multiple systems
• Increases observability in IoT
• The MQTT broker can be involved in identifying problems in
surrounding systems
Tracing
Copyright © by HiveMQ. All Rights Reserved.
Session and Message Expiry
PUBLISH/Session expires when not used for a certain amount of time
Time in seconds set by sending client (Publisher) for Message
Time in seconds set by client for Session
Expires when clients are offline
Expires when Clients are not responding (PUBACK)
Copyright © by HiveMQ. All Rights Reserved.
Benefits of Session and Message Expiry
• Allows users to assign different importance to different message
types (message/service prioritization)
• Delete some quickly
• Keep others longer
• Housekeeping for decommissioned devices
• If a device/client does not come back online for 14 days,
remove all remnants of it from the broker
• Saves infrastructure costs + potential security measure
Copyright © by HiveMQ. All Rights Reserved.
Session and Message Expiry
Premium Navigation Service
Copyright © by HiveMQ. All Rights Reserved.
Payload Type Description
Combination of 2 attributes in PUBLISH packet
Payload Format Indicator and Content Type
Binary or UTF-8 and arbitrary description for UTF-8 payloads
Copyright © by HiveMQ. All Rights Reserved.
Payload Type Descriptors
Helps with standardization across verticals
● 0 = binary byte stream
● 1 = UTF-8 encoded
payload
● Content Type (if 1) =>
Describes the actual type
of Payload (i.e. JSON
Schema v3, XML)
Copyright © by HiveMQ. All Rights Reserved.
Benefits of Payload Type Descriptors
• Support multiple standards across a single deployment
• Helps building cross-vendor type use cases
• IoT Solution provider for various customer solution
• Version control for messaging
• Could use User Properties for binary payloads
• Enable different types of payloads in same use case
Copyright © by HiveMQ. All Rights Reserved.
● Sending lists of license plates
● Transferring pictures
● Cannot differentiate by topic
● Payload descriptors ensure correct parsing and processing of each
message
Smart Toll Booth
Copyright © by HiveMQ. All Rights Reserved.
Enhanced Authentication
Can be used for challenge-response authentication
Additional packet introduced
Copyright © by HiveMQ. All Rights Reserved.
Enhanced Authentication
Authentication Flow
Copyright © by HiveMQ. All Rights Reserved.
Benefits of Enhanced Authentication
• Integrate modern IoT System into existing enterprise grade IT
security infrastructure
• SASL, Kerberos, etc.
• Saves the need to introduce a separate system for your IoT
devices
Copyright © by HiveMQ. All Rights Reserved.
MQTT 5 Essentials Series
MQTT 5 Video Series
Try HiveMQ Cloud
Download HiveMQ
Resources
ANY
QUESTIONS?
THANK YOU
Florian Raschbichler
Head of Support at HiveMQ
https://www.linkedin.com/in/fraschbi/
@fraschbi
Contact:

More Related Content

What's hot

Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?
Eurotech
 
Lightweight and scalable IoT Messaging with MQTT
Lightweight and scalable IoT Messaging with MQTTLightweight and scalable IoT Messaging with MQTT
Lightweight and scalable IoT Messaging with MQTT
Dominik Obermaier
 
Lightweight and scalable IoT Architectures with MQTT
Lightweight and scalable IoT Architectures with MQTTLightweight and scalable IoT Architectures with MQTT
Lightweight and scalable IoT Architectures with MQTT
Dominik Obermaier
 
In search of the perfect IoT Stack - Scalable IoT Architectures with MQTT
In search of the perfect IoT Stack - Scalable IoT Architectures with MQTTIn search of the perfect IoT Stack - Scalable IoT Architectures with MQTT
In search of the perfect IoT Stack - Scalable IoT Architectures with MQTT
Dominik Obermaier
 
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
Dominik Obermaier
 
Push! - MQTT for the Internet of Things
Push! - MQTT for the Internet of ThingsPush! - MQTT for the Internet of Things
Push! - MQTT for the Internet of Things
Dominik Obermaier
 
Best Practices Using MQTT to Connect Millions of IoT Devices
Best Practices Using MQTT  to Connect Millions of IoT DevicesBest Practices Using MQTT  to Connect Millions of IoT Devices
Best Practices Using MQTT to Connect Millions of IoT Devices
Christian Götz
 
Getting started with MQTT - Virtual IoT Meetup presentation
Getting started with MQTT - Virtual IoT Meetup presentationGetting started with MQTT - Virtual IoT Meetup presentation
Getting started with MQTT - Virtual IoT Meetup presentation
Christian Götz
 
[http://1PU.SH] Building Wireless Sensor Networks with MQTT-SN, RaspberryPi a...
[http://1PU.SH] Building Wireless Sensor Networks with MQTT-SN, RaspberryPi a...[http://1PU.SH] Building Wireless Sensor Networks with MQTT-SN, RaspberryPi a...
[http://1PU.SH] Building Wireless Sensor Networks with MQTT-SN, RaspberryPi a...
Zvi Avraham
 
IAB-5039 : MQTT: A Protocol for the Internet of Things (InterConnect 2015)
IAB-5039 : MQTT: A Protocol for the Internet of Things (InterConnect 2015)IAB-5039 : MQTT: A Protocol for the Internet of Things (InterConnect 2015)
IAB-5039 : MQTT: A Protocol for the Internet of Things (InterConnect 2015)
PeterNiblett
 
Introduction MQTT in English
Introduction MQTT in EnglishIntroduction MQTT in English
Introduction MQTT in English
Eric Xiao
 
EMQ Company Deck
EMQ Company DeckEMQ Company Deck
EMQ Company Deck
EMQ
 
MQTT in the Internet of Things | Loop by Litmus Automation
MQTT in the Internet of Things | Loop by Litmus AutomationMQTT in the Internet of Things | Loop by Litmus Automation
MQTT in the Internet of Things | Loop by Litmus Automation
Litmusautomation
 
A pure Java MQTT Stack for IoT
A pure Java MQTT Stack for IoTA pure Java MQTT Stack for IoT
A pure Java MQTT Stack for IoT
Dominik Obermaier
 
MQTT in Reactive Blocks
MQTT in Reactive BlocksMQTT in Reactive Blocks
MQTT in Reactive Blocks
Bitreactive
 
Introduction to EMQ X Enterprise
Introduction to EMQ X EnterpriseIntroduction to EMQ X Enterprise
Introduction to EMQ X Enterprise
EMQ
 
MQTT 101 - Getting started with the lightweight IoT Protocol
MQTT 101  - Getting started with the lightweight IoT ProtocolMQTT 101  - Getting started with the lightweight IoT Protocol
MQTT 101 - Getting started with the lightweight IoT Protocol
Christian Götz
 
Why transync mqtt gps tracker
Why transync mqtt gps trackerWhy transync mqtt gps tracker
Why transync mqtt gps tracker
Konark Chukkapally
 
Connect to the IoT with a lightweight protocol MQTT
Connect to the IoT with a lightweight protocol MQTTConnect to the IoT with a lightweight protocol MQTT
Connect to the IoT with a lightweight protocol MQTT
Kenneth Peeples
 
Protocols for internet of things
Protocols for internet of thingsProtocols for internet of things
Protocols for internet of things
Charles Gibbons
 

What's hot (20)

Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?
 
Lightweight and scalable IoT Messaging with MQTT
Lightweight and scalable IoT Messaging with MQTTLightweight and scalable IoT Messaging with MQTT
Lightweight and scalable IoT Messaging with MQTT
 
Lightweight and scalable IoT Architectures with MQTT
Lightweight and scalable IoT Architectures with MQTTLightweight and scalable IoT Architectures with MQTT
Lightweight and scalable IoT Architectures with MQTT
 
In search of the perfect IoT Stack - Scalable IoT Architectures with MQTT
In search of the perfect IoT Stack - Scalable IoT Architectures with MQTTIn search of the perfect IoT Stack - Scalable IoT Architectures with MQTT
In search of the perfect IoT Stack - Scalable IoT Architectures with MQTT
 
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
 
Push! - MQTT for the Internet of Things
Push! - MQTT for the Internet of ThingsPush! - MQTT for the Internet of Things
Push! - MQTT for the Internet of Things
 
Best Practices Using MQTT to Connect Millions of IoT Devices
Best Practices Using MQTT  to Connect Millions of IoT DevicesBest Practices Using MQTT  to Connect Millions of IoT Devices
Best Practices Using MQTT to Connect Millions of IoT Devices
 
Getting started with MQTT - Virtual IoT Meetup presentation
Getting started with MQTT - Virtual IoT Meetup presentationGetting started with MQTT - Virtual IoT Meetup presentation
Getting started with MQTT - Virtual IoT Meetup presentation
 
[http://1PU.SH] Building Wireless Sensor Networks with MQTT-SN, RaspberryPi a...
[http://1PU.SH] Building Wireless Sensor Networks with MQTT-SN, RaspberryPi a...[http://1PU.SH] Building Wireless Sensor Networks with MQTT-SN, RaspberryPi a...
[http://1PU.SH] Building Wireless Sensor Networks with MQTT-SN, RaspberryPi a...
 
IAB-5039 : MQTT: A Protocol for the Internet of Things (InterConnect 2015)
IAB-5039 : MQTT: A Protocol for the Internet of Things (InterConnect 2015)IAB-5039 : MQTT: A Protocol for the Internet of Things (InterConnect 2015)
IAB-5039 : MQTT: A Protocol for the Internet of Things (InterConnect 2015)
 
Introduction MQTT in English
Introduction MQTT in EnglishIntroduction MQTT in English
Introduction MQTT in English
 
EMQ Company Deck
EMQ Company DeckEMQ Company Deck
EMQ Company Deck
 
MQTT in the Internet of Things | Loop by Litmus Automation
MQTT in the Internet of Things | Loop by Litmus AutomationMQTT in the Internet of Things | Loop by Litmus Automation
MQTT in the Internet of Things | Loop by Litmus Automation
 
A pure Java MQTT Stack for IoT
A pure Java MQTT Stack for IoTA pure Java MQTT Stack for IoT
A pure Java MQTT Stack for IoT
 
MQTT in Reactive Blocks
MQTT in Reactive BlocksMQTT in Reactive Blocks
MQTT in Reactive Blocks
 
Introduction to EMQ X Enterprise
Introduction to EMQ X EnterpriseIntroduction to EMQ X Enterprise
Introduction to EMQ X Enterprise
 
MQTT 101 - Getting started with the lightweight IoT Protocol
MQTT 101  - Getting started with the lightweight IoT ProtocolMQTT 101  - Getting started with the lightweight IoT Protocol
MQTT 101 - Getting started with the lightweight IoT Protocol
 
Why transync mqtt gps tracker
Why transync mqtt gps trackerWhy transync mqtt gps tracker
Why transync mqtt gps tracker
 
Connect to the IoT with a lightweight protocol MQTT
Connect to the IoT with a lightweight protocol MQTTConnect to the IoT with a lightweight protocol MQTT
Connect to the IoT with a lightweight protocol MQTT
 
Protocols for internet of things
Protocols for internet of thingsProtocols for internet of things
Protocols for internet of things
 

Similar to How mqtt 5 makes difficult io t use cases possible

How MQTT 5 Makes Difficult IoT Use Cases Possible
How MQTT 5 Makes Difficult IoT Use Cases PossibleHow MQTT 5 Makes Difficult IoT Use Cases Possible
How MQTT 5 Makes Difficult IoT Use Cases Possible
HiveMQ
 
Back to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTTBack to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTT
HiveMQ
 
Debugging MQTT Client Communications With MQTT.fx and HiveMQ Cloud
Debugging MQTT Client Communications With MQTT.fx and HiveMQ CloudDebugging MQTT Client Communications With MQTT.fx and HiveMQ Cloud
Debugging MQTT Client Communications With MQTT.fx and HiveMQ Cloud
HiveMQ
 
MQTT 5 - Why You Need It and Potential Pitfalls
MQTT 5 - Why You Need It and Potential PitfallsMQTT 5 - Why You Need It and Potential Pitfalls
MQTT 5 - Why You Need It and Potential Pitfalls
HiveMQ
 
HiveMQ + Kafka - The Ideal Solution for IoT MQTT Data Integration
HiveMQ + Kafka - The Ideal Solution for IoT MQTT Data IntegrationHiveMQ + Kafka - The Ideal Solution for IoT MQTT Data Integration
HiveMQ + Kafka - The Ideal Solution for IoT MQTT Data Integration
HiveMQ
 
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
How to Stream IoT MQTT Messages Into the Azure Event Hubs ServiceHow to Stream IoT MQTT Messages Into the Azure Event Hubs Service
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
HiveMQ
 
Lightweight and Scalable IoT Messaging with MQTT
Lightweight and Scalable IoT Messaging with MQTTLightweight and Scalable IoT Messaging with MQTT
Lightweight and Scalable IoT Messaging with MQTT
HiveMQ
 
Building Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise ComputingBuilding Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise Computing
HiveMQ
 
Best Practices for Streaming Connected Car Data with MQTT & Kafka
Best Practices for Streaming Connected Car Data with MQTT & KafkaBest Practices for Streaming Connected Car Data with MQTT & Kafka
Best Practices for Streaming Connected Car Data with MQTT & Kafka
HiveMQ
 
HiveMQ + Kafka: The ideal solution for IoT MQTT data integration
HiveMQ + Kafka: The ideal solution for IoT MQTT data integrationHiveMQ + Kafka: The ideal solution for IoT MQTT data integration
HiveMQ + Kafka: The ideal solution for IoT MQTT data integration
MargarethaErber
 
Building Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise ComputingBuilding Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise Computing
SilvioGiebl
 
HiveMQ Cloud - The Cloud Native IoT Messaging Layer
HiveMQ Cloud - The Cloud Native IoT Messaging LayerHiveMQ Cloud - The Cloud Native IoT Messaging Layer
HiveMQ Cloud - The Cloud Native IoT Messaging Layer
Dominik Obermaier
 
Introducing HiveMQ Cloud
Introducing HiveMQ CloudIntroducing HiveMQ Cloud
Introducing HiveMQ Cloud
MargarethaErber
 
HiveMQ Cloud Webinar
HiveMQ Cloud WebinarHiveMQ Cloud Webinar
HiveMQ Cloud Webinar
HiveMQ
 
Simplified IoT Operations With HiveMQ and Datadog
Simplified IoT Operations With HiveMQ and DatadogSimplified IoT Operations With HiveMQ and Datadog
Simplified IoT Operations With HiveMQ and Datadog
HiveMQ
 
Modernizing the Manufacturing Industry with Kafka and MQTT
Modernizing the Manufacturing Industry with Kafka and MQTT Modernizing the Manufacturing Industry with Kafka and MQTT
Modernizing the Manufacturing Industry with Kafka and MQTT
Dominik Obermaier
 
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heaven
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heavenKafka Summit 2021 - Why MQTT and Kafka are a match made in heaven
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heaven
Dominik Obermaier
 
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...
HostedbyConfluent
 
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQMachine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
HiveMQ
 
IoT Meetup HiveMQ and MQTT
IoT Meetup HiveMQ and MQTTIoT Meetup HiveMQ and MQTT
IoT Meetup HiveMQ and MQTT
Ian Skerrett
 

Similar to How mqtt 5 makes difficult io t use cases possible (20)

How MQTT 5 Makes Difficult IoT Use Cases Possible
How MQTT 5 Makes Difficult IoT Use Cases PossibleHow MQTT 5 Makes Difficult IoT Use Cases Possible
How MQTT 5 Makes Difficult IoT Use Cases Possible
 
Back to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTTBack to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTT
 
Debugging MQTT Client Communications With MQTT.fx and HiveMQ Cloud
Debugging MQTT Client Communications With MQTT.fx and HiveMQ CloudDebugging MQTT Client Communications With MQTT.fx and HiveMQ Cloud
Debugging MQTT Client Communications With MQTT.fx and HiveMQ Cloud
 
MQTT 5 - Why You Need It and Potential Pitfalls
MQTT 5 - Why You Need It and Potential PitfallsMQTT 5 - Why You Need It and Potential Pitfalls
MQTT 5 - Why You Need It and Potential Pitfalls
 
HiveMQ + Kafka - The Ideal Solution for IoT MQTT Data Integration
HiveMQ + Kafka - The Ideal Solution for IoT MQTT Data IntegrationHiveMQ + Kafka - The Ideal Solution for IoT MQTT Data Integration
HiveMQ + Kafka - The Ideal Solution for IoT MQTT Data Integration
 
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
How to Stream IoT MQTT Messages Into the Azure Event Hubs ServiceHow to Stream IoT MQTT Messages Into the Azure Event Hubs Service
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
 
Lightweight and Scalable IoT Messaging with MQTT
Lightweight and Scalable IoT Messaging with MQTTLightweight and Scalable IoT Messaging with MQTT
Lightweight and Scalable IoT Messaging with MQTT
 
Building Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise ComputingBuilding Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise Computing
 
Best Practices for Streaming Connected Car Data with MQTT & Kafka
Best Practices for Streaming Connected Car Data with MQTT & KafkaBest Practices for Streaming Connected Car Data with MQTT & Kafka
Best Practices for Streaming Connected Car Data with MQTT & Kafka
 
HiveMQ + Kafka: The ideal solution for IoT MQTT data integration
HiveMQ + Kafka: The ideal solution for IoT MQTT data integrationHiveMQ + Kafka: The ideal solution for IoT MQTT data integration
HiveMQ + Kafka: The ideal solution for IoT MQTT data integration
 
Building Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise ComputingBuilding Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise Computing
 
HiveMQ Cloud - The Cloud Native IoT Messaging Layer
HiveMQ Cloud - The Cloud Native IoT Messaging LayerHiveMQ Cloud - The Cloud Native IoT Messaging Layer
HiveMQ Cloud - The Cloud Native IoT Messaging Layer
 
Introducing HiveMQ Cloud
Introducing HiveMQ CloudIntroducing HiveMQ Cloud
Introducing HiveMQ Cloud
 
HiveMQ Cloud Webinar
HiveMQ Cloud WebinarHiveMQ Cloud Webinar
HiveMQ Cloud Webinar
 
Simplified IoT Operations With HiveMQ and Datadog
Simplified IoT Operations With HiveMQ and DatadogSimplified IoT Operations With HiveMQ and Datadog
Simplified IoT Operations With HiveMQ and Datadog
 
Modernizing the Manufacturing Industry with Kafka and MQTT
Modernizing the Manufacturing Industry with Kafka and MQTT Modernizing the Manufacturing Industry with Kafka and MQTT
Modernizing the Manufacturing Industry with Kafka and MQTT
 
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heaven
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heavenKafka Summit 2021 - Why MQTT and Kafka are a match made in heaven
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heaven
 
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...
 
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQMachine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
 
IoT Meetup HiveMQ and MQTT
IoT Meetup HiveMQ and MQTTIoT Meetup HiveMQ and MQTT
IoT Meetup HiveMQ and MQTT
 

Recently uploaded

The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 

Recently uploaded (20)

The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 

How mqtt 5 makes difficult io t use cases possible

  • 1. Copyright © by HiveMQ. All Rights Reserved. WELCOME TO OUR WEBCAST We will start this session shortly
  • 2. How MQTT 5 Makes Difficult IoT Use Cases Possible Welcome to Our Webinar
  • 3. Copyright © by HiveMQ. All Rights Reserved. Speaker Florian Raschbichler Head of Support at HiveMQ Florian serves as the head of the HiveMQ support team with years of first-hand experience overcoming challenges in achieving reliable, scalable, and secure IoT messaging for enterprise customers. https://www.linkedin.com/in/fraschbi/ @fraschbi
  • 4. Copyright © by HiveMQ. All Rights Reserved. • Enhancement for scalability and large scale systems • Better error handling for more robust systems • More scalability for cloud-native computing • Formalize common patterns including capability discovery and request response • Performance improvements and support for small clients MQTT 5 – Quick Intro The most feature-rich update of the MQTT protocol ever!
  • 5. Copyright © by HiveMQ. All Rights Reserved. • Connected cars • Home automation • Manufacturing systems • Transportation • Logistics • Enterprise chat applications • Mobile apps Popular Use Cases
  • 6. Copyright © by HiveMQ. All Rights Reserved. • Topic Aliases • Shared Subscriptions • Request-Response Pattern • User Properties • Session and Message Expiry • Payload Type Descriptors • Enhanced Authentication MQTT 5 – Rich Feature Set
  • 7. Deep Dive into Primary Feature Set of MQTT 5 Explained with Use Case Examples
  • 8. Copyright © by HiveMQ. All Rights Reserved. Topic Aliases Helps Save Bandwidth and Memory Negotiated individually between client and broker Certain topics get exchanged with integer alias instead of a string value
  • 9. Copyright © by HiveMQ. All Rights Reserved. Benefits of Topic Aliases Save data as the consumer Ensures low latency and limited data consumption for high frequency messaging Removes bandwidth usage from network as the provider
  • 10. Copyright © by HiveMQ. All Rights Reserved. Topic Aliases Helps Save Bandwidth and Memory
  • 11. Copyright © by HiveMQ. All Rights Reserved. ● Vehicle to Anything (V2X) ● High frequency messaging (10hz or more) ● Tens or hundreds of thousands of devices (cars, phones, sensors, traffic lights ..) ● Deep topic structure for services, layers and geo location ● Example calculation ○ Topic as String: Europe/Sweden/Stockholm/North-East/Tile121/Priority/Pedastrian-Alert = 68 bytes ○ Topic as Integer = 4 bytes ○ 64 bytes * 10.000 cars * 10hz ~ 6 MB/s => ~ 15 TeraByte per month for 1 sensor ● Useful for OEMs, ISPs and service provides (cities) V2X Use Case
  • 12. Copyright © by HiveMQ. All Rights Reserved. Shared Subscriptions Special syntax Multiple clients can share the load on a topic Client load balancing mechanism
  • 13. Copyright © by HiveMQ. All Rights Reserved. Shared Subscriptions
  • 14. Copyright © by HiveMQ. All Rights Reserved. Shared Subscriptions’ Example Without Shared Subscription Group With Shared Subscription Group
  • 15. Copyright © by HiveMQ. All Rights Reserved. ● Facilitates scalable consumer infrastructure ● Provides good message throughput even for slow message processing situations ● High availability for consumers ● Enables really high volume messaging with shared consumer of messages Benefits of Shared Subscriptions
  • 16. Copyright © by HiveMQ. All Rights Reserved. ● Connected cars ● Up to tens of millions of concurrently connected vehicles ● Individual topics for cars (VIN/telemetry) ● Shared wildcard topic for consumer ($share/data-lake/+/telemetry) ● Persist information to single data source ● Enables central calculations (i.e. predictive maintenance) Vehicle Telemetry Persistence
  • 17. Copyright © by HiveMQ. All Rights Reserved. Request - Response Pattern Still fully asynchronous “Business acknowledgement” on top of regular given MQTT delivery guarantees Pattern of communication that allows feedback to sender of messages Enables extensible, dynamic, and transparent implementation of “business acknowledgement” functionality
  • 18. Copyright © by HiveMQ. All Rights Reserved. Benefits of Request - Response Pattern • Enables use cases that require guaranteed delivery and processing of messages • Any time you are dealing with sensitive commands (For example, door lock/unlock, sending/receiving temperature, etc.) • Provides a standardized framework for end-to-end acknowledgements • Command audit
  • 19. Copyright © by HiveMQ. All Rights Reserved. Request - Response Pattern
  • 20. Copyright © by HiveMQ. All Rights Reserved. User Properties Provide near endless extensibility to most MQTT packets Commonly known from other technologies like HTTP or Kafka Arbitrary number of Key-Value String pairs
  • 21. Copyright © by HiveMQ. All Rights Reserved. User Properties Offers Limitless Possibilities to Apply Additional Logic
  • 22. Copyright © by HiveMQ. All Rights Reserved. • Add message-id to PUBLISH packets • End-to-end tracing of messages, potentially across multiple systems • Increases observability in IoT • The MQTT broker can be involved in identifying problems in surrounding systems Tracing
  • 23. Copyright © by HiveMQ. All Rights Reserved. Session and Message Expiry PUBLISH/Session expires when not used for a certain amount of time Time in seconds set by sending client (Publisher) for Message Time in seconds set by client for Session Expires when clients are offline Expires when Clients are not responding (PUBACK)
  • 24. Copyright © by HiveMQ. All Rights Reserved. Benefits of Session and Message Expiry • Allows users to assign different importance to different message types (message/service prioritization) • Delete some quickly • Keep others longer • Housekeeping for decommissioned devices • If a device/client does not come back online for 14 days, remove all remnants of it from the broker • Saves infrastructure costs + potential security measure
  • 25. Copyright © by HiveMQ. All Rights Reserved. Session and Message Expiry Premium Navigation Service
  • 26. Copyright © by HiveMQ. All Rights Reserved. Payload Type Description Combination of 2 attributes in PUBLISH packet Payload Format Indicator and Content Type Binary or UTF-8 and arbitrary description for UTF-8 payloads
  • 27. Copyright © by HiveMQ. All Rights Reserved. Payload Type Descriptors Helps with standardization across verticals ● 0 = binary byte stream ● 1 = UTF-8 encoded payload ● Content Type (if 1) => Describes the actual type of Payload (i.e. JSON Schema v3, XML)
  • 28. Copyright © by HiveMQ. All Rights Reserved. Benefits of Payload Type Descriptors • Support multiple standards across a single deployment • Helps building cross-vendor type use cases • IoT Solution provider for various customer solution • Version control for messaging • Could use User Properties for binary payloads • Enable different types of payloads in same use case
  • 29. Copyright © by HiveMQ. All Rights Reserved. ● Sending lists of license plates ● Transferring pictures ● Cannot differentiate by topic ● Payload descriptors ensure correct parsing and processing of each message Smart Toll Booth
  • 30. Copyright © by HiveMQ. All Rights Reserved. Enhanced Authentication Can be used for challenge-response authentication Additional packet introduced
  • 31. Copyright © by HiveMQ. All Rights Reserved. Enhanced Authentication Authentication Flow
  • 32. Copyright © by HiveMQ. All Rights Reserved. Benefits of Enhanced Authentication • Integrate modern IoT System into existing enterprise grade IT security infrastructure • SASL, Kerberos, etc. • Saves the need to introduce a separate system for your IoT devices
  • 33. Copyright © by HiveMQ. All Rights Reserved. MQTT 5 Essentials Series MQTT 5 Video Series Try HiveMQ Cloud Download HiveMQ Resources
  • 35. THANK YOU Florian Raschbichler Head of Support at HiveMQ https://www.linkedin.com/in/fraschbi/ @fraschbi Contact: