SlideShare a Scribd company logo
How to Stream IoT (MQTT)
Messages Into the Azure Event
Hubs Service
Insert
Picture
Copyright © by HiveMQ. All Rights Reserved.
• Matthias works for HiveMQ Professional Services
and supports HiveMQ customers to implement their
IoT and MQTT use cases and architectures.
• He has been working on streaming architectures for
many years and how to store, analyse and integrate
data for different use-cases. Leveraging on his years
of experience, he is helping HiveMQ customers build
mission-critical solutions and solving their
challenges.
Matthias Hofschen
linkedin.com/in/matthiashofschen/
Senior Consultant Professional Services
Speaker
matthias.hofschen@hivemq.com
AGENDA
● IoT Architecture challenges
● HiveMQ and Azure Event
Hubs
● Considerations
● Summary
● Q & A
IoT Architecture
Challenges
Copyright © by HiveMQ. All Rights Reserved.
Diversity as a Challenge
Many use case specific requirements
Load from 100s to 1.000.000s of devices
Geographically distributed
Diverse set of devices/clients
Infrastructures and platforms
Backend systems
IoT
Copyright © by HiveMQ. All Rights Reserved.
● Payload agnostic solutions
● Scalability, reliability and availability
● Interoperability for hybrid device scenarios
through standard compliance
● Deployment agnostic solutions
● Flexible integrations with existing
applications and systems
Solutions Needed
Copyright © by HiveMQ. All Rights Reserved.
Connected Car
IIoT /
Industry 4.0
Logistics Telecommunication
IoT Messaging
Middleware
MQTT Use Cases
Copyright © by HiveMQ. All Rights Reserved.
IIoT/Industry 4.0
● Production visibility and monitoring
● Automated data collection
● Increased machine utilization
● Predictive maintenance
● Facility management
● Optimized logistics
Enterprise Data Center
Data Analytics
Service
Machine Learning
Service
Data Lake
Factory 1
Factory 2
Factory 3 Factory 4
Factory 6
Factory 5
Copyright © by HiveMQ. All Rights Reserved.
Architecture Overview
device
MQTT
Broker
MQTT
Broker
MQTT
Broker
Message
Queue
Backend systems:
- data lakes
- databases
- time series
- stream processor
- machine learning
LB
device
device
device
device
device
HiveMQ and
Azure Event Hubs
Copyright © by HiveMQ. All Rights Reserved.
Architecture Overview
device
HiveMQ
Broker
HiveMQ
Broker
HiveMQ
Broker
Azure
Event
Hubs
Backend systems:
- data lakes
- databases
- time series
- stream processor
- machine learning
LB
device
device
device
device
device
Copyright © by HiveMQ. All Rights Reserved.
Setup
Copyright © by HiveMQ. All Rights Reserved.
● These blog posts describe the technical details:
● Connect HiveMQ to Azure Event Hubs
● Deploy a HiveMQ cluster on Azure Kubernetes Service
● The HiveMQ documentation provides detailed information
and many resources to install HiveMQ in other environments.
Setup
Copyright © by HiveMQ. All Rights Reserved.
Set up HiveMQ on Azure Kubernetes Service
● AKS cluster
● Helm charts for the
HiveMQ Operator
● HiveMQ cluster with
2 nodes (4 CPU, 4G)
Copyright © by HiveMQ. All Rights Reserved.
Set up Azure Event Hubs
AKS Service
HiveMQ
with Kafka
Extension
HiveMQ
with Kafka
Extension
HiveMQ
with Kafka
Extension
Azure Resource Group
Event Hubs Namespace
Event Hub Queue: hmq-inbound
Event Hub Queue: <name>
Partition 0: |||||||||||||||
Partition 1: |||||||||||||||
Partition 0: |||||||||||||||
Partition 1: |||||||||||||||
Azure Event Hubs
Event Hubs Namespace
Event Hub (queue)
Partition
Kafka
Kafka cluster
Kafka topic
Partition
Copyright © by HiveMQ. All Rights Reserved.
Set up HiveMQ Enterprise Extension for Kafka
Copyright © by HiveMQ. All Rights Reserved.
HiveMQ Enterprise Extension for Kafka details
Key: data/plc/1
Value: “up and running”
MQTT Topic: data/plc/1
MQTT Payload: “up and running”
Azure Event Hub “hmq-inbound”
MQTT Publish Record
Ping - Pong example with two MQTT clients
Copyright © by HiveMQ. All Rights Reserved.
HiveMQ Enterprise Extension for Kafka details
Key: data/plc/1
Value: “up and running
MQTT Topic: hmq-inbound
MQTT Payload: “up and running”
Azure Event Hub “hmq-inbound”
MQTT Publish Record
Ping - Pong example with two MQTT clients
Copyright © by HiveMQ. All Rights Reserved.
Final Setup
Kubernetes Service
Azure Resource Group
Event Hubs Namespace
Event Hub Queue
Event Hub Queue
Partition 0: |||||||||||||||
Partition 1: |||||||||||||||
Partition 0: |||||||||||||||
Partition 1: |||||||||||||||
Backend
Applications
Considerations
Copyright © by HiveMQ. All Rights Reserved.
● A message queue that decouples enterprise data
consumers for more flexibility
● A scalable and reliable MQTT message broker that
is 100% MQTT compliant (+ optional features)
● Azure customers can use Azure Event Hubs as a
message queue
IoT Architecture considerations
Copyright © by HiveMQ. All Rights Reserved.
● doesn’t add load to MQTT broker
● data is consumed only once
● messages are buffered
● new data consumers can be added
● exploratory data analysis is possible
● central place for data governance
Advantages of a message queue
Copyright © by HiveMQ. All Rights Reserved.
● 100% MQTT + all optional features
● Full range of MQTT features available for use cases
● Payload agnostic, support for any data format
● Full flexibility for topic tree design
● Full support for fan-in and fan-out scenarios
● Full support for wildcards
● Retained messages, sessions, last will messages,
return codes and error codes, user properties and more
Advantages of a 100% MQTT Compliant Broker
Copyright © by HiveMQ. All Rights Reserved.
Missing MQTT Features (Azure IoT Hub)
● Publish only to device specific topics
● Subscribe only to device specific topics
● No support for QoS 2 (disconnect)
● No support for retained messages (on the broker)
● No choice of clientid (must be deviceid)
● No choice of username
● Only TLS connections and Websockets
● No MQTT 5 support
Copyright © by HiveMQ. All Rights Reserved.
Missing MQTT Features (AWS IoT Core)
● Topic tree limited to 7 levels (0/1/2/3/4/5/6/7)
● Topic cannot exceed 256 bytes
● Max message size 128 KB
● Max 512 KB throughput per connection/second
● Max 50 subscriptions per client
● No QoS 2 support
● Limit on number of retained messages (5000)
● Quotas and limits may differ between regions
● No MQTT 5 support
Summary
Copyright © by HiveMQ. All Rights Reserved.
● 100% MQTT + optional features
● Scalability, elasticity, reliability and availability
● Event Hubs as message queue to leverage Azure
data services
Advantages of HiveMQ on Azure with Event Hubs
Copyright © by HiveMQ. All Rights Reserved.
Resources
Evaluate HiveMQ
Try HiveMQ Cloud
Get Started with MQTT
HiveMQ Documentation
HiveMQ Blog:
Connect HiveMQ to Azure Event Hubs
HiveMQ Blog:
Deploy a HiveMQ cluster on Azure Kubernetes
Service
ANY
QUESTIONS?
Reach out to community.hivemq.com
THANK YOU
matthias.hofschen@hivemq.com
linkedin.com/in/matthiashofschen/
Contact Details
Matthias Hofschen

More Related Content

Similar to How to Stream IoT MQTT Messages Into the Azure Event Hubs Service

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
 
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
 
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
 
How mqtt 5 makes difficult io t use cases possible
How mqtt 5 makes difficult io t use cases possibleHow mqtt 5 makes difficult io t use cases possible
How mqtt 5 makes difficult io t use cases possible
Florian Raschbichler
 
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
 
Io t meetup-detroit-mqtt-5
Io t meetup-detroit-mqtt-5Io t meetup-detroit-mqtt-5
Io t meetup-detroit-mqtt-5
Florian Raschbichler
 
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
 
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
 
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
 
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT SystemHow to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
InfluxData
 
Mqtt.fx on hive mq cloud
Mqtt.fx on hive mq cloudMqtt.fx on hive mq cloud
Mqtt.fx on hive mq cloud
MargarethaErber
 
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
 
MQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
MQTT.fx on HiveMQ Cloud Testing MQTT in the CloudMQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
MQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
HiveMQ
 
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
Dominik Obermaier
 
Inntroduction to MQTT Sparkplug with HiveMQ and Opto22
Inntroduction to MQTT Sparkplug with HiveMQ and Opto22Inntroduction to MQTT Sparkplug with HiveMQ and Opto22
Inntroduction to MQTT Sparkplug with HiveMQ and Opto22
Dominik Obermaier
 
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 + 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
HiveMQ
 

Similar to How to Stream IoT MQTT Messages Into the Azure Event Hubs Service (20)

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
 
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
 
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
 
How mqtt 5 makes difficult io t use cases possible
How mqtt 5 makes difficult io t use cases possibleHow mqtt 5 makes difficult io t use cases possible
How mqtt 5 makes difficult io t use cases possible
 
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
 
Io t meetup-detroit-mqtt-5
Io t meetup-detroit-mqtt-5Io t meetup-detroit-mqtt-5
Io t meetup-detroit-mqtt-5
 
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
 
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 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
 
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT SystemHow to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
 
Mqtt.fx on hive mq cloud
Mqtt.fx on hive mq cloudMqtt.fx on hive mq cloud
Mqtt.fx on hive mq cloud
 
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
 
MQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
MQTT.fx on HiveMQ Cloud Testing MQTT in the CloudMQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
MQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
 
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
 
Inntroduction to MQTT Sparkplug with HiveMQ and Opto22
Inntroduction to MQTT Sparkplug with HiveMQ and Opto22Inntroduction to MQTT Sparkplug with HiveMQ and Opto22
Inntroduction to MQTT Sparkplug with HiveMQ and Opto22
 
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 + 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
 

More from HiveMQ

IoT Security Issues and MQTT
IoT Security Issues and MQTTIoT Security Issues and MQTT
IoT Security Issues and MQTT
HiveMQ
 
Testing the Scalability of a Robust IoT System with Confidence
Testing the Scalability of a Robust IoT System with ConfidenceTesting the Scalability of a Robust IoT System with Confidence
Testing the Scalability of a Robust IoT System with Confidence
HiveMQ
 
Designing an Edge to Cloud Architecture for IIoT
Designing an Edge to Cloud Architecture for IIoTDesigning an Edge to Cloud Architecture for IIoT
Designing an Edge to Cloud Architecture for IIoT
HiveMQ
 
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
HiveMQ
 
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
HiveMQ
 
How to Monitor and Observe IoT and MQTT Applications with HiveMQ
How to Monitor and Observe IoT and MQTT Applications with HiveMQ How to Monitor and Observe IoT and MQTT Applications with HiveMQ
How to Monitor and Observe IoT and MQTT Applications with HiveMQ
HiveMQ
 
Connecting the Smart Factory to the Cloud
Connecting the Smart Factory to the CloudConnecting the Smart Factory to the Cloud
Connecting the Smart Factory to the Cloud
HiveMQ
 
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ SwarmRevolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
HiveMQ
 
Introduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoT
Introduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoTIntroduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoT
Introduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoT
HiveMQ
 
Free Your Manufacturing Data with Apache PLC4X & MQTT
Free Your Manufacturing Data with Apache PLC4X & MQTTFree Your Manufacturing Data with Apache PLC4X & MQTT
Free Your Manufacturing Data with Apache PLC4X & MQTT
HiveMQ
 
Build Your Own HiveMQ Extension
Build Your Own HiveMQ ExtensionBuild Your Own HiveMQ Extension
Build Your Own HiveMQ Extension
HiveMQ
 
How to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
How to Set up, Run and Scale a Secure MQTT Broker on KubernetesHow to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
How to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
HiveMQ
 
MQTT - The Key to Scalable Reliable Connected Car Platforms
MQTT - The Key to Scalable Reliable Connected Car PlatformsMQTT - The Key to Scalable Reliable Connected Car Platforms
MQTT - The Key to Scalable Reliable Connected Car Platforms
HiveMQ
 
Modernizing the Manufacturing Industry with MQTT and Kafka
Modernizing the Manufacturing Industry with MQTT and KafkaModernizing the Manufacturing Industry with MQTT and Kafka
Modernizing the Manufacturing Industry with MQTT and Kafka
HiveMQ
 
Implementing the 5 Pillars of IT Security for MQTT
Implementing the 5 Pillars of IT Security for MQTTImplementing the 5 Pillars of IT Security for MQTT
Implementing the 5 Pillars of IT Security for MQTT
HiveMQ
 
4 Paradigm Shifts for the Connected Car of the Future
4 Paradigm Shifts for the Connected Car of the Future4 Paradigm Shifts for the Connected Car of the Future
4 Paradigm Shifts for the Connected Car of the Future
HiveMQ
 

More from HiveMQ (16)

IoT Security Issues and MQTT
IoT Security Issues and MQTTIoT Security Issues and MQTT
IoT Security Issues and MQTT
 
Testing the Scalability of a Robust IoT System with Confidence
Testing the Scalability of a Robust IoT System with ConfidenceTesting the Scalability of a Robust IoT System with Confidence
Testing the Scalability of a Robust IoT System with Confidence
 
Designing an Edge to Cloud Architecture for IIoT
Designing an Edge to Cloud Architecture for IIoTDesigning an Edge to Cloud Architecture for IIoT
Designing an Edge to Cloud Architecture for IIoT
 
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
 
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
 
How to Monitor and Observe IoT and MQTT Applications with HiveMQ
How to Monitor and Observe IoT and MQTT Applications with HiveMQ How to Monitor and Observe IoT and MQTT Applications with HiveMQ
How to Monitor and Observe IoT and MQTT Applications with HiveMQ
 
Connecting the Smart Factory to the Cloud
Connecting the Smart Factory to the CloudConnecting the Smart Factory to the Cloud
Connecting the Smart Factory to the Cloud
 
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ SwarmRevolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
 
Introduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoT
Introduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoTIntroduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoT
Introduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoT
 
Free Your Manufacturing Data with Apache PLC4X & MQTT
Free Your Manufacturing Data with Apache PLC4X & MQTTFree Your Manufacturing Data with Apache PLC4X & MQTT
Free Your Manufacturing Data with Apache PLC4X & MQTT
 
Build Your Own HiveMQ Extension
Build Your Own HiveMQ ExtensionBuild Your Own HiveMQ Extension
Build Your Own HiveMQ Extension
 
How to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
How to Set up, Run and Scale a Secure MQTT Broker on KubernetesHow to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
How to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
 
MQTT - The Key to Scalable Reliable Connected Car Platforms
MQTT - The Key to Scalable Reliable Connected Car PlatformsMQTT - The Key to Scalable Reliable Connected Car Platforms
MQTT - The Key to Scalable Reliable Connected Car Platforms
 
Modernizing the Manufacturing Industry with MQTT and Kafka
Modernizing the Manufacturing Industry with MQTT and KafkaModernizing the Manufacturing Industry with MQTT and Kafka
Modernizing the Manufacturing Industry with MQTT and Kafka
 
Implementing the 5 Pillars of IT Security for MQTT
Implementing the 5 Pillars of IT Security for MQTTImplementing the 5 Pillars of IT Security for MQTT
Implementing the 5 Pillars of IT Security for MQTT
 
4 Paradigm Shifts for the Connected Car of the Future
4 Paradigm Shifts for the Connected Car of the Future4 Paradigm Shifts for the Connected Car of the Future
4 Paradigm Shifts for the Connected Car of the Future
 

Recently uploaded

20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
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
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
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
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Zilliz
 
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
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 

Recently uploaded (20)

20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
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...
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
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
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
 
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
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 

How to Stream IoT MQTT Messages Into the Azure Event Hubs Service

  • 1. How to Stream IoT (MQTT) Messages Into the Azure Event Hubs Service
  • 2. Insert Picture Copyright © by HiveMQ. All Rights Reserved. • Matthias works for HiveMQ Professional Services and supports HiveMQ customers to implement their IoT and MQTT use cases and architectures. • He has been working on streaming architectures for many years and how to store, analyse and integrate data for different use-cases. Leveraging on his years of experience, he is helping HiveMQ customers build mission-critical solutions and solving their challenges. Matthias Hofschen linkedin.com/in/matthiashofschen/ Senior Consultant Professional Services Speaker matthias.hofschen@hivemq.com
  • 3. AGENDA ● IoT Architecture challenges ● HiveMQ and Azure Event Hubs ● Considerations ● Summary ● Q & A
  • 5. Copyright © by HiveMQ. All Rights Reserved. Diversity as a Challenge Many use case specific requirements Load from 100s to 1.000.000s of devices Geographically distributed Diverse set of devices/clients Infrastructures and platforms Backend systems IoT
  • 6. Copyright © by HiveMQ. All Rights Reserved. ● Payload agnostic solutions ● Scalability, reliability and availability ● Interoperability for hybrid device scenarios through standard compliance ● Deployment agnostic solutions ● Flexible integrations with existing applications and systems Solutions Needed
  • 7. Copyright © by HiveMQ. All Rights Reserved. Connected Car IIoT / Industry 4.0 Logistics Telecommunication IoT Messaging Middleware MQTT Use Cases
  • 8. Copyright © by HiveMQ. All Rights Reserved. IIoT/Industry 4.0 ● Production visibility and monitoring ● Automated data collection ● Increased machine utilization ● Predictive maintenance ● Facility management ● Optimized logistics Enterprise Data Center Data Analytics Service Machine Learning Service Data Lake Factory 1 Factory 2 Factory 3 Factory 4 Factory 6 Factory 5
  • 9. Copyright © by HiveMQ. All Rights Reserved. Architecture Overview device MQTT Broker MQTT Broker MQTT Broker Message Queue Backend systems: - data lakes - databases - time series - stream processor - machine learning LB device device device device device
  • 11. Copyright © by HiveMQ. All Rights Reserved. Architecture Overview device HiveMQ Broker HiveMQ Broker HiveMQ Broker Azure Event Hubs Backend systems: - data lakes - databases - time series - stream processor - machine learning LB device device device device device
  • 12. Copyright © by HiveMQ. All Rights Reserved. Setup
  • 13. Copyright © by HiveMQ. All Rights Reserved. ● These blog posts describe the technical details: ● Connect HiveMQ to Azure Event Hubs ● Deploy a HiveMQ cluster on Azure Kubernetes Service ● The HiveMQ documentation provides detailed information and many resources to install HiveMQ in other environments. Setup
  • 14. Copyright © by HiveMQ. All Rights Reserved. Set up HiveMQ on Azure Kubernetes Service ● AKS cluster ● Helm charts for the HiveMQ Operator ● HiveMQ cluster with 2 nodes (4 CPU, 4G)
  • 15. Copyright © by HiveMQ. All Rights Reserved. Set up Azure Event Hubs AKS Service HiveMQ with Kafka Extension HiveMQ with Kafka Extension HiveMQ with Kafka Extension Azure Resource Group Event Hubs Namespace Event Hub Queue: hmq-inbound Event Hub Queue: <name> Partition 0: ||||||||||||||| Partition 1: ||||||||||||||| Partition 0: ||||||||||||||| Partition 1: ||||||||||||||| Azure Event Hubs Event Hubs Namespace Event Hub (queue) Partition Kafka Kafka cluster Kafka topic Partition
  • 16. Copyright © by HiveMQ. All Rights Reserved. Set up HiveMQ Enterprise Extension for Kafka
  • 17. Copyright © by HiveMQ. All Rights Reserved. HiveMQ Enterprise Extension for Kafka details Key: data/plc/1 Value: “up and running” MQTT Topic: data/plc/1 MQTT Payload: “up and running” Azure Event Hub “hmq-inbound” MQTT Publish Record Ping - Pong example with two MQTT clients
  • 18. Copyright © by HiveMQ. All Rights Reserved. HiveMQ Enterprise Extension for Kafka details Key: data/plc/1 Value: “up and running MQTT Topic: hmq-inbound MQTT Payload: “up and running” Azure Event Hub “hmq-inbound” MQTT Publish Record Ping - Pong example with two MQTT clients
  • 19. Copyright © by HiveMQ. All Rights Reserved. Final Setup Kubernetes Service Azure Resource Group Event Hubs Namespace Event Hub Queue Event Hub Queue Partition 0: ||||||||||||||| Partition 1: ||||||||||||||| Partition 0: ||||||||||||||| Partition 1: ||||||||||||||| Backend Applications
  • 21. Copyright © by HiveMQ. All Rights Reserved. ● A message queue that decouples enterprise data consumers for more flexibility ● A scalable and reliable MQTT message broker that is 100% MQTT compliant (+ optional features) ● Azure customers can use Azure Event Hubs as a message queue IoT Architecture considerations
  • 22. Copyright © by HiveMQ. All Rights Reserved. ● doesn’t add load to MQTT broker ● data is consumed only once ● messages are buffered ● new data consumers can be added ● exploratory data analysis is possible ● central place for data governance Advantages of a message queue
  • 23. Copyright © by HiveMQ. All Rights Reserved. ● 100% MQTT + all optional features ● Full range of MQTT features available for use cases ● Payload agnostic, support for any data format ● Full flexibility for topic tree design ● Full support for fan-in and fan-out scenarios ● Full support for wildcards ● Retained messages, sessions, last will messages, return codes and error codes, user properties and more Advantages of a 100% MQTT Compliant Broker
  • 24. Copyright © by HiveMQ. All Rights Reserved. Missing MQTT Features (Azure IoT Hub) ● Publish only to device specific topics ● Subscribe only to device specific topics ● No support for QoS 2 (disconnect) ● No support for retained messages (on the broker) ● No choice of clientid (must be deviceid) ● No choice of username ● Only TLS connections and Websockets ● No MQTT 5 support
  • 25. Copyright © by HiveMQ. All Rights Reserved. Missing MQTT Features (AWS IoT Core) ● Topic tree limited to 7 levels (0/1/2/3/4/5/6/7) ● Topic cannot exceed 256 bytes ● Max message size 128 KB ● Max 512 KB throughput per connection/second ● Max 50 subscriptions per client ● No QoS 2 support ● Limit on number of retained messages (5000) ● Quotas and limits may differ between regions ● No MQTT 5 support
  • 27. Copyright © by HiveMQ. All Rights Reserved. ● 100% MQTT + optional features ● Scalability, elasticity, reliability and availability ● Event Hubs as message queue to leverage Azure data services Advantages of HiveMQ on Azure with Event Hubs
  • 28. Copyright © by HiveMQ. All Rights Reserved. Resources Evaluate HiveMQ Try HiveMQ Cloud Get Started with MQTT HiveMQ Documentation HiveMQ Blog: Connect HiveMQ to Azure Event Hubs HiveMQ Blog: Deploy a HiveMQ cluster on Azure Kubernetes Service
  • 29. ANY QUESTIONS? Reach out to community.hivemq.com