SlideShare ist ein Scribd-Unternehmen logo
1 von 35
Downloaden Sie, um offline zu lesen
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:

Weitere ähnliche Inhalte

Was ist angesagt?

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 MQTTDominik 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 MQTTDominik 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 MQTTDominik 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 ThingsDominik 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 DevicesChristian 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 presentationChristian 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 EnglishEric Xiao
 
EMQ Company Deck
EMQ Company DeckEMQ Company Deck
EMQ Company DeckEMQ
 
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 AutomationLitmusautomation
 
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 IoTDominik Obermaier
 
MQTT in Reactive Blocks
MQTT in Reactive BlocksMQTT in Reactive Blocks
MQTT in Reactive BlocksBitreactive
 
Introduction to EMQ X Enterprise
Introduction to EMQ X EnterpriseIntroduction to EMQ X Enterprise
Introduction to EMQ X EnterpriseEMQ
 
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 ProtocolChristian Götz
 
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 MQTTKenneth Peeples
 
Protocols for internet of things
Protocols for internet of thingsProtocols for internet of things
Protocols for internet of thingsCharles Gibbons
 

Was ist angesagt? (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
 

Ähnlich wie 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 PossibleHiveMQ
 
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 MQTTHiveMQ
 
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 CloudHiveMQ
 
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 PitfallsHiveMQ
 
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 IntegrationHiveMQ
 
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 ServiceHiveMQ
 
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 MQTTHiveMQ
 
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 ComputingHiveMQ
 
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 & KafkaHiveMQ
 
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 integrationMargarethaErber
 
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 ComputingSilvioGiebl
 
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 LayerDominik Obermaier
 
Introducing HiveMQ Cloud
Introducing HiveMQ CloudIntroducing HiveMQ Cloud
Introducing HiveMQ CloudMargarethaErber
 
HiveMQ Cloud Webinar
HiveMQ Cloud WebinarHiveMQ Cloud Webinar
HiveMQ Cloud WebinarHiveMQ
 
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 DatadogHiveMQ
 
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 heavenDominik 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 & HiveMQHiveMQ
 
IoT Meetup HiveMQ and MQTT
IoT Meetup HiveMQ and MQTTIoT Meetup HiveMQ and MQTT
IoT Meetup HiveMQ and MQTTIan Skerrett
 

Ähnlich wie 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
 

Kürzlich hochgeladen

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 

Kürzlich hochgeladen (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

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: