SlideShare a Scribd company logo
Stefan Bocutiu
@stepib
London Apache Kafka Meetup, Feb 2018
End to end topologies on Apache Kafka 

An IoT use case CONNECT ANALYSE REACT
About Today
Intros
IoT
High Level Architecture
Build the Pipeline
Q&A
Hi! It’s Stefan!

@stepib

https://github.com/stheppi
CONNECT ANALYSE REACT
Streaming Data Processing & Integration

KAFKA - KUBERNETES
EVOLVESCALEBUILDIoT initiative challenges
★ 94% face challenges collecting and analysing IoT data
★ 26+ Billion devices by 2020, Gartner
More Data, More Complexity
★ 2.500.000 trillion bytes produced daily
REAL TIME DATA INGESTION + IMMEDIATE QUERIES = 

ACTIONABLE / TIMELY INSIGHTS
IoT Data Flows
IoT data flow
store datastream & process datasensor data
IoT data flow
store datastream & process datasensor data
E T L
InfluxDBsensor data
MQTT
InfluxDB 

Connector
LENSES SQL
PROCESSOR
KAFKA 

CONNECT
KAFKA 

CONNECT
MQTT 

Connector
KAFKA STREAMS
InfluxDBsensor data
MQTT
InfluxDB 

Connector
LENSES SQL
PROCESSOR
KAFKA 

CONNECT
KAFKA 

CONNECT
MQTT 

Connector
KAFKA STREAMS
Synthetic Data
With Moquette

1 Broker, 

data generate
sensor data
InfluxDB Docker
®
IoT &
High Volumes, N devices

& irregular intervals
Real Time Analytics 

& Microservices
Unlimited streams of data, async transfers

Producers & Consumers decoupled operation
Kafka Streams API

Processing and analysing data in motion
Multiple sources of data 

& long term storeage
Kafka Connect API, 

move data with pluggable reusable & scalable connectors
An open source streaming framework
with messaging semantics where records are key-value pairs.
LENSES BOX

For Kafka Development
Single docker image with all services
Growing list of examples & synthetic data generators.
Stream Reactor 25+ connectors
Kafka CLI autocomplete.
Rest and WebSocket endpoints
Redux JS Client
Testing Libraries
FREE!
All you need to start working with Apache Kafka ecosystem
MQTT Source connector

• Message Queueing Telemetry Transport messaging protocol
• Optimised for connected devices and M2M protocol
• Low bandwidth, high-latency, unreliable networks
• Plain or SSL connections
• Kafka Connect Query Language
INSERT INTO kafka_topic
SELECT * FROM /mqtt_source_topic
[WITHCONVERTER=`myclass`]
MQTT
Distributed, Fault tolerant, scalable
No code required
CLI / UI / Monitor
KCQL Support
Multiple Distributions
• Process data in motion with Lenses SQL
• Create & Deploy Lenses SQL Processors
• Native Kafka & Kubernetes Support Scalability
• Visual Topology
• Monitor and manage processors via LENSES
Process & Analyse
Data in motion
InfluxDB Sink connector

• AVRO & JSON Support
• Error handling ( Noop, Retry, Throw)
• Field selection & field alias
• Multiple inserts supported
• Kafka Connect Query Language
• MEASUREMENTS, KCQL: INSERTS
• TAGS, KCQL: WITHTAG
• TIMESTAMPS, KCQL: WITHTIMESTAMP
• DURATION
Distributed, Fault tolerant, scalable
No code required
CLI / UI / Monitor
KCQL Support
Multiple Distributions
INSERT INTO sensorMeasure 

SELECT * FROM sensor_data_avg 

WITHTAG (id, poweredBy=Lenses)
Distributed, Fault tolerant, scalable
No code required
CLI / UI / Monitor
KCQL Support
Multiple Distributions
InfluxDB Sink connector

• Timestamp nanosecond
• KCQL
• No filter support
• No function support
• Throughput involves domain knowlege
• Kafka Connect rebalances
visual data flow
Visual and Interactive Topology

for a 360 view of your data
End-To-End Topology Management

Visualise your Kafka-based data flows

in real time
Wrap it up!
CONNECT
ANALYSE
REACT
Real Time, IoT pipelines in minutes!
MQTT
Contact us
www.landoop.com
info@landoop.com
Twitter @LandoopLtd
Github github.com/landoop
Gitter https://gitter.im/Landoop
Slack https://launchpass.com/landoop-community
Thank you!

More Related Content

What's hot (20)

PDF
Kafka summit apac session
Christina Lin
 
PDF
Telco 4.0 - Payment and FinServ Integration for Data in Motion with 5G and Ap...
Kai Wähner
 
PPTX
Confluent Cloud Networking | Rajan Sundaram, Confluent
HostedbyConfluent
 
PDF
New Features in Confluent Platform 6.0 / Apache Kafka 2.6
Kai Wähner
 
PDF
Let's build a simple ingest to cloud datawarehouse with low code
Timothy Spann
 
PDF
Building a real-time data processing pipeline using Apache Kafka, Kafka Conne...
Paul Brebner
 
PDF
Kafka at the Edge: an IoT scenario with OpenShift Streams for Apache Kafka | ...
Red Hat Developers
 
PDF
IoT Sensor Analytics with Kafka, ksqlDB and TensorFlow
Kai Wähner
 
PDF
Enabling Smarter Cities and Connected Vehicles with an Event Streaming Platfo...
Kai Wähner
 
PDF
Building Event Driven (Micro)services with Apache Kafka
Guido Schmutz
 
PDF
End to-end large messages processing with Kafka Streams & Kafka Connect
confluent
 
PDF
Apicurio Registry: Event-driven APIs & Schema governance for Apache Kafka | F...
HostedbyConfluent
 
PDF
Ingesting IoT data in Food Processing
confluent
 
PDF
Technical Deep Dive: Using Apache Kafka to Optimize Real-Time Analytics in Fi...
confluent
 
PDF
The Rise Of Event Streaming – Why Apache Kafka Changes Everything
Kai Wähner
 
PDF
What's new in confluent platform 5.4 online talk
confluent
 
PDF
0-60: Tesla's Streaming Data Platform ( Jesse Yates, Tesla) Kafka Summit SF 2019
confluent
 
PDF
5 lessons learned for successful migration to Confluent cloud | Natan Silinit...
HostedbyConfluent
 
PDF
GCP for Apache Kafka® Users: Stream Ingestion and Processing
confluent
 
PDF
Connected Vehicles and V2X with Apache Kafka
Kai Wähner
 
Kafka summit apac session
Christina Lin
 
Telco 4.0 - Payment and FinServ Integration for Data in Motion with 5G and Ap...
Kai Wähner
 
Confluent Cloud Networking | Rajan Sundaram, Confluent
HostedbyConfluent
 
New Features in Confluent Platform 6.0 / Apache Kafka 2.6
Kai Wähner
 
Let's build a simple ingest to cloud datawarehouse with low code
Timothy Spann
 
Building a real-time data processing pipeline using Apache Kafka, Kafka Conne...
Paul Brebner
 
Kafka at the Edge: an IoT scenario with OpenShift Streams for Apache Kafka | ...
Red Hat Developers
 
IoT Sensor Analytics with Kafka, ksqlDB and TensorFlow
Kai Wähner
 
Enabling Smarter Cities and Connected Vehicles with an Event Streaming Platfo...
Kai Wähner
 
Building Event Driven (Micro)services with Apache Kafka
Guido Schmutz
 
End to-end large messages processing with Kafka Streams & Kafka Connect
confluent
 
Apicurio Registry: Event-driven APIs & Schema governance for Apache Kafka | F...
HostedbyConfluent
 
Ingesting IoT data in Food Processing
confluent
 
Technical Deep Dive: Using Apache Kafka to Optimize Real-Time Analytics in Fi...
confluent
 
The Rise Of Event Streaming – Why Apache Kafka Changes Everything
Kai Wähner
 
What's new in confluent platform 5.4 online talk
confluent
 
0-60: Tesla's Streaming Data Platform ( Jesse Yates, Tesla) Kafka Summit SF 2019
confluent
 
5 lessons learned for successful migration to Confluent cloud | Natan Silinit...
HostedbyConfluent
 
GCP for Apache Kafka® Users: Stream Ingestion and Processing
confluent
 
Connected Vehicles and V2X with Apache Kafka
Kai Wähner
 

Similar to MQTT. Kafka. InfluxDB. SQL. IoT Harmony. #tutorial by Stefan Bocutiu (20)

PDF
IoT Sensor Analytics with Python, Jupyter, TensorFlow, Keras, Apache Kafka, K...
Kai Wähner
 
PDF
London Apache Kafka Meetup (Jan 2017)
Landoop Ltd
 
PDF
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
confluent
 
PDF
Beyond the brokers - Un tour de l'écosystème Kafka
Florent Ramiere
 
PDF
Beyond the brokers - A tour of the Kafka ecosystem
Damien Gasparina
 
PDF
Beyond the Brokers: A Tour of the Kafka Ecosystem
confluent
 
PDF
Ingesting and Processing IoT Data Using MQTT, Kafka Connect and Kafka Streams...
confluent
 
PDF
Ingesting and Processing IoT Data - using MQTT, Kafka Connect and KSQL
Guido Schmutz
 
PDF
Apache Kafka® and Analytics in a Connected IoT World
confluent
 
PDF
Best Practices for Streaming IoT Data with MQTT and Apache Kafka
Kai Wähner
 
PDF
Viele Autos, noch mehr Daten: IoT-Daten-Streaming mit MQTT & Kafka (Kai Waehn...
confluent
 
PDF
Set your Data in Motion with Confluent & Apache Kafka Tech Talk Series LME
confluent
 
PPTX
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heaven
Dominik Obermaier
 
PPTX
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...
HostedbyConfluent
 
PDF
Introduction to apache kafka, confluent and why they matter
Paolo Castagna
 
PDF
Introduction to Apache Kafka
Ricardo Bravo
 
PDF
Apache Kafka - Scalable Message Processing and more!
Guido Schmutz
 
PDF
What's new in Confluent 3.2 and Apache Kafka 0.10.2
confluent
 
PDF
APAC Kafka Summit - Best Of
confluent
 
PDF
Streaming Time Series Data With Kenny Gorman and Elena Cuevas | Current 2022
HostedbyConfluent
 
IoT Sensor Analytics with Python, Jupyter, TensorFlow, Keras, Apache Kafka, K...
Kai Wähner
 
London Apache Kafka Meetup (Jan 2017)
Landoop Ltd
 
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
confluent
 
Beyond the brokers - Un tour de l'écosystème Kafka
Florent Ramiere
 
Beyond the brokers - A tour of the Kafka ecosystem
Damien Gasparina
 
Beyond the Brokers: A Tour of the Kafka Ecosystem
confluent
 
Ingesting and Processing IoT Data Using MQTT, Kafka Connect and Kafka Streams...
confluent
 
Ingesting and Processing IoT Data - using MQTT, Kafka Connect and KSQL
Guido Schmutz
 
Apache Kafka® and Analytics in a Connected IoT World
confluent
 
Best Practices for Streaming IoT Data with MQTT and Apache Kafka
Kai Wähner
 
Viele Autos, noch mehr Daten: IoT-Daten-Streaming mit MQTT & Kafka (Kai Waehn...
confluent
 
Set your Data in Motion with Confluent & Apache Kafka Tech Talk Series LME
confluent
 
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heaven
Dominik Obermaier
 
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...
HostedbyConfluent
 
Introduction to apache kafka, confluent and why they matter
Paolo Castagna
 
Introduction to Apache Kafka
Ricardo Bravo
 
Apache Kafka - Scalable Message Processing and more!
Guido Schmutz
 
What's new in Confluent 3.2 and Apache Kafka 0.10.2
confluent
 
APAC Kafka Summit - Best Of
confluent
 
Streaming Time Series Data With Kenny Gorman and Elena Cuevas | Current 2022
HostedbyConfluent
 
Ad

Recently uploaded (20)

PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Ad

MQTT. Kafka. InfluxDB. SQL. IoT Harmony. #tutorial by Stefan Bocutiu

  • 1. Stefan Bocutiu @stepib London Apache Kafka Meetup, Feb 2018 End to end topologies on Apache Kafka 
 An IoT use case CONNECT ANALYSE REACT
  • 2. About Today Intros IoT High Level Architecture Build the Pipeline Q&A
  • 3. Hi! It’s Stefan!
 @stepib
 https://github.com/stheppi CONNECT ANALYSE REACT Streaming Data Processing & Integration
 KAFKA - KUBERNETES
  • 4. EVOLVESCALEBUILDIoT initiative challenges ★ 94% face challenges collecting and analysing IoT data ★ 26+ Billion devices by 2020, Gartner More Data, More Complexity ★ 2.500.000 trillion bytes produced daily REAL TIME DATA INGESTION + IMMEDIATE QUERIES = 
 ACTIONABLE / TIMELY INSIGHTS IoT Data Flows
  • 5. IoT data flow store datastream & process datasensor data
  • 6. IoT data flow store datastream & process datasensor data E T L
  • 7. InfluxDBsensor data MQTT InfluxDB 
 Connector LENSES SQL PROCESSOR KAFKA 
 CONNECT KAFKA 
 CONNECT MQTT 
 Connector KAFKA STREAMS
  • 8. InfluxDBsensor data MQTT InfluxDB 
 Connector LENSES SQL PROCESSOR KAFKA 
 CONNECT KAFKA 
 CONNECT MQTT 
 Connector KAFKA STREAMS Synthetic Data With Moquette
 1 Broker, 
 data generate sensor data InfluxDB Docker
  • 9. ® IoT & High Volumes, N devices
 & irregular intervals Real Time Analytics 
 & Microservices Unlimited streams of data, async transfers
 Producers & Consumers decoupled operation Kafka Streams API
 Processing and analysing data in motion Multiple sources of data 
 & long term storeage Kafka Connect API, 
 move data with pluggable reusable & scalable connectors An open source streaming framework with messaging semantics where records are key-value pairs.
  • 10. LENSES BOX
 For Kafka Development Single docker image with all services Growing list of examples & synthetic data generators. Stream Reactor 25+ connectors Kafka CLI autocomplete. Rest and WebSocket endpoints Redux JS Client Testing Libraries FREE! All you need to start working with Apache Kafka ecosystem
  • 11. MQTT Source connector
 • Message Queueing Telemetry Transport messaging protocol • Optimised for connected devices and M2M protocol • Low bandwidth, high-latency, unreliable networks • Plain or SSL connections • Kafka Connect Query Language INSERT INTO kafka_topic SELECT * FROM /mqtt_source_topic [WITHCONVERTER=`myclass`] MQTT Distributed, Fault tolerant, scalable No code required CLI / UI / Monitor KCQL Support Multiple Distributions
  • 12. • Process data in motion with Lenses SQL • Create & Deploy Lenses SQL Processors • Native Kafka & Kubernetes Support Scalability • Visual Topology • Monitor and manage processors via LENSES Process & Analyse Data in motion
  • 13. InfluxDB Sink connector
 • AVRO & JSON Support • Error handling ( Noop, Retry, Throw) • Field selection & field alias • Multiple inserts supported • Kafka Connect Query Language • MEASUREMENTS, KCQL: INSERTS • TAGS, KCQL: WITHTAG • TIMESTAMPS, KCQL: WITHTIMESTAMP • DURATION Distributed, Fault tolerant, scalable No code required CLI / UI / Monitor KCQL Support Multiple Distributions INSERT INTO sensorMeasure 
 SELECT * FROM sensor_data_avg 
 WITHTAG (id, poweredBy=Lenses)
  • 14. Distributed, Fault tolerant, scalable No code required CLI / UI / Monitor KCQL Support Multiple Distributions InfluxDB Sink connector
 • Timestamp nanosecond • KCQL • No filter support • No function support • Throughput involves domain knowlege • Kafka Connect rebalances
  • 15. visual data flow Visual and Interactive Topology
 for a 360 view of your data End-To-End Topology Management
 Visualise your Kafka-based data flows
 in real time
  • 16. Wrap it up! CONNECT ANALYSE REACT Real Time, IoT pipelines in minutes! MQTT
  • 17. Contact us www.landoop.com [email protected] Twitter @LandoopLtd Github github.com/landoop Gitter https://gitter.im/Landoop Slack https://launchpass.com/landoop-community Thank you!