SlideShare a Scribd company logo
1
Best Practices for Streaming IoT Data
with MQTT and Apache Kafka
Kai Waehner
Technology Evangelist
kai.waehner@confluent.io
LinkedIn
@KaiWaehner
www.confluent.io
www.kai-waehner.de
Real Time Data Processing and Analytics
with 100000 Connected Cars
Dominik Obermaier
CTO HiveMQ
dominik.obermaier@hivemq.com
www.linkedin.com/in/dobermai
@dobermai
www.hivemq.com
2
Agenda
• Use Case
• Architecture
• Live Demo
• Best Practices
• Next steps
3
Agenda
• Use Case
• Architecture
• Live Demo
• Best Practices
• Next steps
4
Global Automotive Company
Builds Connected Car Infrastructure
Use Cases:
• Connected Car Infrastructure (Cars, Traffic Lights, Cloud Services,
etc.)
• Real Time Analytics (Predictive Maintenance, etc.)
• Continuous Services / Sales
• Partner Integration (Car workshop, gas station, food market, etc.)
• …
55
Other Components
Kafka Ecosystem
(3) Read Data
TensorFlow I/O
(5) Deploy
Model
(2) Preprocess
Data
(8a)
Alert Car
Real Time
Kafka App
TensorFlow
Serving
gRPC
Car Sensor
HiveMQ
MQTT Broker
MQTT
Connector
Kafka Connect
or
Confluent Proxy
or
HiveMQ Plugin
Kafka
Cluster
Kafka
Connect
Grafana
Elastic
Search
KSQL
Tensor
Flow
(04)
Train Model
Real Time
Kafka Streams
Application
(Java / Scala)
Tensor Flow
Real Time
Edge
Computing
(C / librdkafka)
Tensor Flow
Lite
(1)
Ingest Data
(8b)
Alert Driver
(e.g. mobile App)
(6a) Consume
Car Data
(6b)
All Data
(7) Potential
Defect
6
Agenda
• Use Case
• Architecture
• Live Demo
• Best Practices
• Next steps
7
Cloud Native
Infrastructure
Benefits
• Scalable
• Flexible
• Agile
• Elastic
• Automated
• Etc.
8
• IoT-specific features for bad network / connectivity
• Widely used (mostly IoT, but also web and mobile
apps via MQTT over WebSocket)
• Built on top of TCP/IP for constrained devices and
unreliable networks
• Many (open source) broker implementations
• Many (open source) client libraries
MQTT - Publish / subscribe messaging protocol
9
MQTT Trade-Offs
Pros
• Lightweight
• All programming languages supported
• Built for poor connectivity / high latency scenarios (e.g. mobile networks!)
• High scalability and availability *
• ISO Standard
• Most popular IoT protocol
Cons
• Only pub/sub, not stream processing
• Asynchronous processing (clients can be offline for long time)
• No reprocessing of events
* Depending on Broker
10
A Streaming Platform is the Underpinning of an Event-driven Architecture
Ubiquitous
connectivity
Globally scalable platform for all
event producers and
Immediate data
access
Data accessible to all
consumers in real time
Single system of
record
Persistent storage to enable
reprocessing of past events
Continuous queries
Stream processing capabilities
for in-line data transformation
Microservices
DBs
SaaS apps
Mobile
Customer 360
Real-time fraud
detection
Data warehouse
Producers
Consumers
Database
change
Microservice
s events
SaaS
data
Customer
experience
s
Streams of real time events
Stream processing apps
11
Kafka Trade-Offs (from IoT perspective)
Pros
• Stream processing, not just pub/sub
• High throughput
• Large scale
• High availability
• Long term storage and buffering
• Reprocessing of events
• Good integration to rest of the enterprise
Cons
• Not built for tens of thousands connections
• Requires stable network and good infrastructure
• No IoT-specific features like keep alive, last will or testament
12
(De facto) Standards for Processing IoT Data
A Match Made In Heaven
+ =
13
Agenda
• Use Case
• Architecture
• Live Demo
• Best Practices
• Next steps
14
Advanced Demo
15
MVP
16
Live Demo
End-to-End Integration and Data Processing for
100000 Connected Cars
17
https://github.com/kaiwaehner/hivemq-mqtt-tensorflow-kafka-realtime-iot-machine-learning-training-inference
or
http://bit.ly/kafka-mqtt-ml-demo
=> Try it out in 30 minutes!
Demo 100.000 Connected Cars
(Kafka + MQTT + TensorFlow)
18
Agenda
• Use Case
• Architecture
• Live Demo
• Best Practices
• Next steps
19
Typical Journey
Value
Maturity (Investment &
time)
2
Enterprise
Streaming Pilot /
Early Production
Pub + Sub Store Process
5
Central
Nervous
System
1
Developer
Interest
Pre-Streaming
4
Global
Streaming
3
SLA
Ready,
Integrated
Streaming
Projects
Platform
20
Start Small, but prepare for Scalability from Beginning
1. Use cloud native and scalable
components
• Confluent Platform is cloud native and built for scale
• HiveMQ is cloud native and built for scale
2. Don’t deep dive too much in the
beginning – but understand options
• HiveMQ Kafka Extension?
• Confluent MQTT connectors?
• Customer Integration?
3. Plan for Enterprise-readiness
• Security
• Monitoring
• Operations tooling
• Bi-directional communication
21
Choose the right tool stack and infrastructure
Understand Trade-Offs and choose the right options for
deployments
• Edge
• On Premise
• Cloud
Use the best tools for the job
• Confluent Platform for Event Streaming
• HiveMQ for MQTT messaging and connectivity
22
Separation of concerns
1. Devices
2. Gateway
3. Integration
4. Data Streaming
5. Consumer Apps
Decouple tasks
• Source integration
• Data processing
• Business logic
• Sink integration
• Analytics
• …
23
Different data for different use cases
• Database, Data Lake
• Search
• Real time, Near Real Time, Batch
• Streaming, Request-Response
• CQRS, Event Sourcing
• Machine Learning
There is no single
MASTER DATA
EVENT…
24
Agenda
• Use Case
• Architecture
• Live Demo
• Best Practices
• Next steps
25
The HiveMQ Platform
26
The HiveMQ Platform – Open Source and Enterprise-grade
27
Confluent Platform
Operations and Security
Development & Stream Processing
Support,Services,Training&
Partners
Apache Kafka
Security plugins | Role-Based Access Control
Control Center | Replicator | Auto Data Balancer | Operator
Connectors
Clients | REST Proxy
MQTT Proxy | Schema
Registry
KSQL
Connect Continuous Commit Log Streams
Complete Event
Streaming Platform
Mission-critical
Reliability
Freedom of
Choice
Datacenter Public Cloud Confluent Cloud
Self-Managed Software Fully-Managed Service
28
Confluent Cloud
Cloud-Native Confluent Platform Fully-Managed Service
Available on the leading public clouds with mission-critical SLAs and consumption-based pricing.
Serverless Kafka characteristics:
Pay-as-you-go, elastic auto-scaling, abstracting infrastructure (topics not brokers)
Spend your time on your applications!
29
Next steps…
Try out the demo in 30 minutes:
https://github.com/kaiwaehner/hivemq-mqtt-tensorflow-kafka-realtime-iot-machine-learning-training-
inference
http://bit.ly/kafka-mqtt-ml-demo
Check out the documentation and blog posts
• HiveMQ and Apache Kafka - Streaming IoT Data and MQTT Messages:
https://www.hivemq.com/blog/streaming-iot-data-and-mqtt-messages-to-apache-kafka/
• Internet of Things (IoT) and Event Streaming at Scale with Apache Kafka and MQTT:
https://www.confluent.io/blog/iot-with-kafka-connect-mqtt-and-rest-proxy
Contact us for questions or any other feedback:
• Website, Email, Slack, Phone, …
• Dominik: dominik@hivemq.com , Kai: kai.waehner@confluent.io
30
Questions? Feedback?
Kai Waehner
Technology Evangelist
kai.waehner@confluent.io
LinkedIn
@KaiWaehner
www.confluent.io
www.kai-waehner.de
Please contact us!
Dominik Obermaier
CTO HiveMQ
dominik.obermaier@hivemq.com
www.linkedin.com/in/dobermai
www.hivemq.com
www.twitter.com/dobermai

More Related Content

PDF
JAZOON'13 - Kai Waehner - Hadoop Integration
PDF
Apache Kafka in the Automotive Industry (Connected Vehicles, Manufacturing 4....
PDF
Apache Kafka for Automotive Industry, Mobility Services & Smart City
PDF
IoT Architectures for Apache Kafka and Event Streaming - Industry 4.0, Digita...
PDF
Simplified Machine Learning Architecture with an Event Streaming Platform (Ap...
PDF
The Rise Of Event Streaming – Why Apache Kafka Changes Everything
PDF
Apache Kafka, Tiered Storage and TensorFlow for Streaming Machine Learning wi...
PDF
Apache Kafka for Real-time Supply Chain in the Food and Retail Industry
JAZOON'13 - Kai Waehner - Hadoop Integration
Apache Kafka in the Automotive Industry (Connected Vehicles, Manufacturing 4....
Apache Kafka for Automotive Industry, Mobility Services & Smart City
IoT Architectures for Apache Kafka and Event Streaming - Industry 4.0, Digita...
Simplified Machine Learning Architecture with an Event Streaming Platform (Ap...
The Rise Of Event Streaming – Why Apache Kafka Changes Everything
Apache Kafka, Tiered Storage and TensorFlow for Streaming Machine Learning wi...
Apache Kafka for Real-time Supply Chain in the Food and Retail Industry

What's hot (20)

PDF
Kafka and Machine Learning in Banking and Insurance Industry
PDF
Kappa vs Lambda Architectures and Technology Comparison
PDF
Apache Kafka in the Telco Industry (OSS, BSS, OTT, IMS, NFV, Middleware, Main...
PDF
Industry-ready NLP Service Framework Based on Kafka (Bernhard Waltl and Georg...
PDF
DataOps on Streaming Data: From Kafka to InfluxDB via Kubernetes Native Flows...
PDF
Apache Kafka in the Public Sector (Government, National Security, Citizen Ser...
PDF
IIoT / Industry 4.0 with Apache Kafka, Connect, KSQL, Apache PLC4X
PDF
Event Streaming in the Telco Industry with Apache Kafka® and Confluent
PDF
Telco 4.0 - Payment and FinServ Integration for Data in Motion with 5G and Ap...
PPTX
JUG Tirana - Introduction to data streaming
PDF
WJAX 2013 Slides online: Big Data beyond Apache Hadoop - How to integrate ALL...
PDF
Intro to Big Data and Apache Hadoop by Dr. Amr Awadallah at CLOUD WEEKEND '13...
PDF
Apache Kafka and MQTT - Overview, Comparison, Use Cases, Architectures
PDF
Kafka Summit SF 2017 - Real time Streaming Platform
PDF
IBM Cloud Pak for Integration with Confluent Platform powered by Apache Kafka
PDF
Apache Kafka in the Healthcare Industry
PDF
Machine Learning with Apache Kafka in Pharma and Life Sciences
PDF
Event Streaming in Retail with Apache Kafka
PDF
Apache Kafka in Financial Services - Use Cases and Architectures
PDF
[INFOGRAPHIC] Event-driven Business: How to Handle the Flow of Event Data
Kafka and Machine Learning in Banking and Insurance Industry
Kappa vs Lambda Architectures and Technology Comparison
Apache Kafka in the Telco Industry (OSS, BSS, OTT, IMS, NFV, Middleware, Main...
Industry-ready NLP Service Framework Based on Kafka (Bernhard Waltl and Georg...
DataOps on Streaming Data: From Kafka to InfluxDB via Kubernetes Native Flows...
Apache Kafka in the Public Sector (Government, National Security, Citizen Ser...
IIoT / Industry 4.0 with Apache Kafka, Connect, KSQL, Apache PLC4X
Event Streaming in the Telco Industry with Apache Kafka® and Confluent
Telco 4.0 - Payment and FinServ Integration for Data in Motion with 5G and Ap...
JUG Tirana - Introduction to data streaming
WJAX 2013 Slides online: Big Data beyond Apache Hadoop - How to integrate ALL...
Intro to Big Data and Apache Hadoop by Dr. Amr Awadallah at CLOUD WEEKEND '13...
Apache Kafka and MQTT - Overview, Comparison, Use Cases, Architectures
Kafka Summit SF 2017 - Real time Streaming Platform
IBM Cloud Pak for Integration with Confluent Platform powered by Apache Kafka
Apache Kafka in the Healthcare Industry
Machine Learning with Apache Kafka in Pharma and Life Sciences
Event Streaming in Retail with Apache Kafka
Apache Kafka in Financial Services - Use Cases and Architectures
[INFOGRAPHIC] Event-driven Business: How to Handle the Flow of Event Data
Ad

Similar to Viele Autos, noch mehr Daten: IoT-Daten-Streaming mit MQTT & Kafka (Kai Waehner, Confluent & Dominik Obermaier, HiveMQ) Frankfurt 2019 Confluent Streaming Event (20)

PDF
Best Practices for Streaming IoT Data with MQTT and Apache Kafka®
PDF
Best Practices for Streaming Connected Car Data with MQTT & Kafka
PDF
IoT Sensor Analytics with Python, Jupyter, TensorFlow, Keras, Apache Kafka, K...
PDF
Processing IoT Data from End to End with MQTT and Apache Kafka
PDF
Lightweight and scalable IoT Architectures with MQTT
PDF
Apache Kafka as Event Streaming Platform for Microservice Architectures
PDF
Real-Life Use Cases & Architectures for Event Streaming with Apache Kafka
PDF
IoT Sensor Analytics with Kafka, ksqlDB and TensorFlow
PDF
Io t data streaming
PDF
Apache Kafka® and Analytics in a Connected IoT World
PPTX
IoT and Event Streaming at Scale with Apache Kafka
PDF
Event Hub (i.e. Kafka) in Modern Data Architecture
PDF
Ingesting and Processing IoT Data Using MQTT, Kafka Connect and Kafka Streams...
PDF
Ingesting and Processing IoT Data - using MQTT, Kafka Connect and KSQL
PDF
Unleashing Apache Kafka and TensorFlow in the Cloud

PDF
Connect K of SMACK:pykafka, kafka-python or?
PDF
Apache kafka event_streaming___kai_waehner
PDF
Real-time processing of large amounts of data
PDF
Kafka Vienna Meetup 020719
PDF
Apache Kafka vs. Integration Middleware (MQ, ETL, ESB)
Best Practices for Streaming IoT Data with MQTT and Apache Kafka®
Best Practices for Streaming Connected Car Data with MQTT & Kafka
IoT Sensor Analytics with Python, Jupyter, TensorFlow, Keras, Apache Kafka, K...
Processing IoT Data from End to End with MQTT and Apache Kafka
Lightweight and scalable IoT Architectures with MQTT
Apache Kafka as Event Streaming Platform for Microservice Architectures
Real-Life Use Cases & Architectures for Event Streaming with Apache Kafka
IoT Sensor Analytics with Kafka, ksqlDB and TensorFlow
Io t data streaming
Apache Kafka® and Analytics in a Connected IoT World
IoT and Event Streaming at Scale with Apache Kafka
Event Hub (i.e. Kafka) in Modern Data Architecture
Ingesting and Processing IoT Data Using MQTT, Kafka Connect and Kafka Streams...
Ingesting and Processing IoT Data - using MQTT, Kafka Connect and KSQL
Unleashing Apache Kafka and TensorFlow in the Cloud

Connect K of SMACK:pykafka, kafka-python or?
Apache kafka event_streaming___kai_waehner
Real-time processing of large amounts of data
Kafka Vienna Meetup 020719
Apache Kafka vs. Integration Middleware (MQ, ETL, ESB)
Ad

More from confluent (20)

PDF
Stream Processing Handson Workshop - Flink SQL Hands-on Workshop (Korean)
PPTX
Webinar Think Right - Shift Left - 19-03-2025.pptx
PDF
Migration, backup and restore made easy using Kannika
PDF
Five Things You Need to Know About Data Streaming in 2025
PDF
Data in Motion Tour Seoul 2024 - Keynote
PDF
Data in Motion Tour Seoul 2024 - Roadmap Demo
PDF
From Stream to Screen: Real-Time Data Streaming to Web Frontends with Conflue...
PDF
Confluent per il settore FSI: Accelerare l'Innovazione con il Data Streaming...
PDF
Data in Motion Tour 2024 Riyadh, Saudi Arabia
PDF
Build a Real-Time Decision Support Application for Financial Market Traders w...
PDF
Strumenti e Strategie di Stream Governance con Confluent Platform
PDF
Compose Gen-AI Apps With Real-Time Data - In Minutes, Not Weeks
PDF
Building Real-Time Gen AI Applications with SingleStore and Confluent
PDF
Unlocking value with event-driven architecture by Confluent
PDF
Il Data Streaming per un’AI real-time di nuova generazione
PDF
Unleashing the Future: Building a Scalable and Up-to-Date GenAI Chatbot with ...
PDF
Break data silos with real-time connectivity using Confluent Cloud Connectors
PDF
Building API data products on top of your real-time data infrastructure
PDF
Speed Wins: From Kafka to APIs in Minutes
PDF
Evolving Data Governance for the Real-time Streaming and AI Era
Stream Processing Handson Workshop - Flink SQL Hands-on Workshop (Korean)
Webinar Think Right - Shift Left - 19-03-2025.pptx
Migration, backup and restore made easy using Kannika
Five Things You Need to Know About Data Streaming in 2025
Data in Motion Tour Seoul 2024 - Keynote
Data in Motion Tour Seoul 2024 - Roadmap Demo
From Stream to Screen: Real-Time Data Streaming to Web Frontends with Conflue...
Confluent per il settore FSI: Accelerare l'Innovazione con il Data Streaming...
Data in Motion Tour 2024 Riyadh, Saudi Arabia
Build a Real-Time Decision Support Application for Financial Market Traders w...
Strumenti e Strategie di Stream Governance con Confluent Platform
Compose Gen-AI Apps With Real-Time Data - In Minutes, Not Weeks
Building Real-Time Gen AI Applications with SingleStore and Confluent
Unlocking value with event-driven architecture by Confluent
Il Data Streaming per un’AI real-time di nuova generazione
Unleashing the Future: Building a Scalable and Up-to-Date GenAI Chatbot with ...
Break data silos with real-time connectivity using Confluent Cloud Connectors
Building API data products on top of your real-time data infrastructure
Speed Wins: From Kafka to APIs in Minutes
Evolving Data Governance for the Real-time Streaming and AI Era

Recently uploaded (20)

PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
A novel scalable deep ensemble learning framework for big data classification...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Hybrid model detection and classification of lung cancer
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Approach and Philosophy of On baking technology
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
project resource management chapter-09.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
TLE Review Electricity (Electricity).pptx
PPTX
A Presentation on Touch Screen Technology
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Heart disease approach using modified random forest and particle swarm optimi...
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
A novel scalable deep ensemble learning framework for big data classification...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
NewMind AI Weekly Chronicles - August'25-Week II
Hybrid model detection and classification of lung cancer
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Web App vs Mobile App What Should You Build First.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
Unlocking AI with Model Context Protocol (MCP)
Approach and Philosophy of On baking technology
cloud_computing_Infrastucture_as_cloud_p
project resource management chapter-09.pdf
Assigned Numbers - 2025 - Bluetooth® Document
Encapsulation_ Review paper, used for researhc scholars
TLE Review Electricity (Electricity).pptx
A Presentation on Touch Screen Technology
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Heart disease approach using modified random forest and particle swarm optimi...

Viele Autos, noch mehr Daten: IoT-Daten-Streaming mit MQTT & Kafka (Kai Waehner, Confluent & Dominik Obermaier, HiveMQ) Frankfurt 2019 Confluent Streaming Event

  • 1. 1 Best Practices for Streaming IoT Data with MQTT and Apache Kafka Kai Waehner Technology Evangelist [email protected] LinkedIn @KaiWaehner www.confluent.io www.kai-waehner.de Real Time Data Processing and Analytics with 100000 Connected Cars Dominik Obermaier CTO HiveMQ [email protected] www.linkedin.com/in/dobermai @dobermai www.hivemq.com
  • 2. 2 Agenda • Use Case • Architecture • Live Demo • Best Practices • Next steps
  • 3. 3 Agenda • Use Case • Architecture • Live Demo • Best Practices • Next steps
  • 4. 4 Global Automotive Company Builds Connected Car Infrastructure Use Cases: • Connected Car Infrastructure (Cars, Traffic Lights, Cloud Services, etc.) • Real Time Analytics (Predictive Maintenance, etc.) • Continuous Services / Sales • Partner Integration (Car workshop, gas station, food market, etc.) • …
  • 5. 55 Other Components Kafka Ecosystem (3) Read Data TensorFlow I/O (5) Deploy Model (2) Preprocess Data (8a) Alert Car Real Time Kafka App TensorFlow Serving gRPC Car Sensor HiveMQ MQTT Broker MQTT Connector Kafka Connect or Confluent Proxy or HiveMQ Plugin Kafka Cluster Kafka Connect Grafana Elastic Search KSQL Tensor Flow (04) Train Model Real Time Kafka Streams Application (Java / Scala) Tensor Flow Real Time Edge Computing (C / librdkafka) Tensor Flow Lite (1) Ingest Data (8b) Alert Driver (e.g. mobile App) (6a) Consume Car Data (6b) All Data (7) Potential Defect
  • 6. 6 Agenda • Use Case • Architecture • Live Demo • Best Practices • Next steps
  • 7. 7 Cloud Native Infrastructure Benefits • Scalable • Flexible • Agile • Elastic • Automated • Etc.
  • 8. 8 • IoT-specific features for bad network / connectivity • Widely used (mostly IoT, but also web and mobile apps via MQTT over WebSocket) • Built on top of TCP/IP for constrained devices and unreliable networks • Many (open source) broker implementations • Many (open source) client libraries MQTT - Publish / subscribe messaging protocol
  • 9. 9 MQTT Trade-Offs Pros • Lightweight • All programming languages supported • Built for poor connectivity / high latency scenarios (e.g. mobile networks!) • High scalability and availability * • ISO Standard • Most popular IoT protocol Cons • Only pub/sub, not stream processing • Asynchronous processing (clients can be offline for long time) • No reprocessing of events * Depending on Broker
  • 10. 10 A Streaming Platform is the Underpinning of an Event-driven Architecture Ubiquitous connectivity Globally scalable platform for all event producers and Immediate data access Data accessible to all consumers in real time Single system of record Persistent storage to enable reprocessing of past events Continuous queries Stream processing capabilities for in-line data transformation Microservices DBs SaaS apps Mobile Customer 360 Real-time fraud detection Data warehouse Producers Consumers Database change Microservice s events SaaS data Customer experience s Streams of real time events Stream processing apps
  • 11. 11 Kafka Trade-Offs (from IoT perspective) Pros • Stream processing, not just pub/sub • High throughput • Large scale • High availability • Long term storage and buffering • Reprocessing of events • Good integration to rest of the enterprise Cons • Not built for tens of thousands connections • Requires stable network and good infrastructure • No IoT-specific features like keep alive, last will or testament
  • 12. 12 (De facto) Standards for Processing IoT Data A Match Made In Heaven + =
  • 13. 13 Agenda • Use Case • Architecture • Live Demo • Best Practices • Next steps
  • 16. 16 Live Demo End-to-End Integration and Data Processing for 100000 Connected Cars
  • 18. 18 Agenda • Use Case • Architecture • Live Demo • Best Practices • Next steps
  • 19. 19 Typical Journey Value Maturity (Investment & time) 2 Enterprise Streaming Pilot / Early Production Pub + Sub Store Process 5 Central Nervous System 1 Developer Interest Pre-Streaming 4 Global Streaming 3 SLA Ready, Integrated Streaming Projects Platform
  • 20. 20 Start Small, but prepare for Scalability from Beginning 1. Use cloud native and scalable components • Confluent Platform is cloud native and built for scale • HiveMQ is cloud native and built for scale 2. Don’t deep dive too much in the beginning – but understand options • HiveMQ Kafka Extension? • Confluent MQTT connectors? • Customer Integration? 3. Plan for Enterprise-readiness • Security • Monitoring • Operations tooling • Bi-directional communication
  • 21. 21 Choose the right tool stack and infrastructure Understand Trade-Offs and choose the right options for deployments • Edge • On Premise • Cloud Use the best tools for the job • Confluent Platform for Event Streaming • HiveMQ for MQTT messaging and connectivity
  • 22. 22 Separation of concerns 1. Devices 2. Gateway 3. Integration 4. Data Streaming 5. Consumer Apps Decouple tasks • Source integration • Data processing • Business logic • Sink integration • Analytics • …
  • 23. 23 Different data for different use cases • Database, Data Lake • Search • Real time, Near Real Time, Batch • Streaming, Request-Response • CQRS, Event Sourcing • Machine Learning There is no single MASTER DATA EVENT…
  • 24. 24 Agenda • Use Case • Architecture • Live Demo • Best Practices • Next steps
  • 26. 26 The HiveMQ Platform – Open Source and Enterprise-grade
  • 27. 27 Confluent Platform Operations and Security Development & Stream Processing Support,Services,Training& Partners Apache Kafka Security plugins | Role-Based Access Control Control Center | Replicator | Auto Data Balancer | Operator Connectors Clients | REST Proxy MQTT Proxy | Schema Registry KSQL Connect Continuous Commit Log Streams Complete Event Streaming Platform Mission-critical Reliability Freedom of Choice Datacenter Public Cloud Confluent Cloud Self-Managed Software Fully-Managed Service
  • 28. 28 Confluent Cloud Cloud-Native Confluent Platform Fully-Managed Service Available on the leading public clouds with mission-critical SLAs and consumption-based pricing. Serverless Kafka characteristics: Pay-as-you-go, elastic auto-scaling, abstracting infrastructure (topics not brokers) Spend your time on your applications!
  • 29. 29 Next steps… Try out the demo in 30 minutes: https://github.com/kaiwaehner/hivemq-mqtt-tensorflow-kafka-realtime-iot-machine-learning-training- inference http://bit.ly/kafka-mqtt-ml-demo Check out the documentation and blog posts • HiveMQ and Apache Kafka - Streaming IoT Data and MQTT Messages: https://www.hivemq.com/blog/streaming-iot-data-and-mqtt-messages-to-apache-kafka/ • Internet of Things (IoT) and Event Streaming at Scale with Apache Kafka and MQTT: https://www.confluent.io/blog/iot-with-kafka-connect-mqtt-and-rest-proxy Contact us for questions or any other feedback: • Website, Email, Slack, Phone, … • Dominik: [email protected] , Kai: [email protected]
  • 30. 30 Questions? Feedback? Kai Waehner Technology Evangelist [email protected] LinkedIn @KaiWaehner www.confluent.io www.kai-waehner.de Please contact us! Dominik Obermaier CTO HiveMQ [email protected] www.linkedin.com/in/dobermai www.hivemq.com www.twitter.com/dobermai