SlideShare a Scribd company logo
1 of 30
Download to read offline
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 DatadogHiveMQ
 
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 MQTTHiveMQ
 
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 possibleFlorian 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
 
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
 
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
 
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
 
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 SystemInfluxData
 
Mqtt.fx on hive mq cloud
Mqtt.fx on hive mq cloudMqtt.fx on hive mq cloud
Mqtt.fx on hive mq cloudMargarethaErber
 
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
 
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 CloudHiveMQ
 
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 Opto22Dominik 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 ComputingSilvioGiebl
 
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 ComputingHiveMQ
 

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 MQTTHiveMQ
 
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 ConfidenceHiveMQ
 
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 IIoTHiveMQ
 
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 CloudHiveMQ
 
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 SwarmHiveMQ
 
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 IIoTHiveMQ
 
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 & MQTTHiveMQ
 
Build Your Own HiveMQ Extension
Build Your Own HiveMQ ExtensionBuild Your Own HiveMQ Extension
Build Your Own HiveMQ ExtensionHiveMQ
 
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 KubernetesHiveMQ
 
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 PlatformsHiveMQ
 
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 KafkaHiveMQ
 
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 MQTTHiveMQ
 
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 FutureHiveMQ
 

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

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
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
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 

Recently uploaded (20)

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
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
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 

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