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

PDF
IIoT / Industry 4.0 with Apache Kafka, Connect, KSQL, Apache PLC4X
PDF
Using FLiP with influxdb for EdgeAI IoT at Scale
PDF
Processing IoT Data from End to End with MQTT and Apache Kafka
PDF
Axway amplify api management platform
PDF
Using the FLaNK Stack for edge ai (apache mxnet, apache flink, apache nifi, a...
PDF
Confluent Operator as Cloud-Native Kafka Operator for Kubernetes
PDF
Why Cloud-Native Kafka Matters: 4 Reasons to Stop Managing it Yourself
PDF
Best Practices for Streaming IoT Data with MQTT and Apache Kafka®
IIoT / Industry 4.0 with Apache Kafka, Connect, KSQL, Apache PLC4X
Using FLiP with influxdb for EdgeAI IoT at Scale
Processing IoT Data from End to End with MQTT and Apache Kafka
Axway amplify api management platform
Using the FLaNK Stack for edge ai (apache mxnet, apache flink, apache nifi, a...
Confluent Operator as Cloud-Native Kafka Operator for Kubernetes
Why Cloud-Native Kafka Matters: 4 Reasons to Stop Managing it Yourself
Best Practices for Streaming IoT Data with MQTT and Apache Kafka®

What's hot (20)

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

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...
PDF
Beyond the brokers - A tour of the Kafka ecosystem
PDF
Beyond the Brokers: A Tour of the Kafka Ecosystem
PDF
Beyond the brokers - Un tour de l'écosystème Kafka
PDF
Au delà des brokers, un tour de l’environnement Kafka | Florent Ramière
PDF
Kafka for Real-Time Replication between Edge and Hybrid Cloud
PDF
Dataops on streaming data: Kafka to InfluxDb via Kubernetes native flows
PDF
Budapest Data/ML - Building Modern Data Streaming Apps with NiFi, Flink and K...
PDF
Devoxx university - Kafka de haut en bas
PDF
Safer Commutes & Streaming Data | George Padavick, Ohio Department of Transpo...
PDF
Bank of China Tech Talk 2: Introduction to Streaming Data and Stream Processi...
PDF
DataOps on Streaming Data: From Kafka to InfluxDB via Kubernetes Native Flows...
PDF
Spark Streaming + Kafka 0.10: an integration story by Joan Viladrosa Riera at...
PDF
Kubernetes connectivity to Cloud Native Kafka | Evan Shortiss and Hugo Guerre...
PDF
JHipster conf 2019 - Kafka Ecosystem
PPTX
IoT and Event Streaming at Scale with Apache Kafka
PPTX
Streaming Data Ingest and Processing with Apache Kafka
PDF
Bringing Streaming Data To The Masses: Lowering The “Cost Of Admission” For Y...
PDF
IoT Architectures for Apache Kafka and Event Streaming - Industry 4.0, Digita...
PDF
Chti jug - 2018-06-26
IoT Sensor Analytics with Python, Jupyter, TensorFlow, Keras, Apache Kafka, K...
Beyond the brokers - A tour of the Kafka ecosystem
Beyond the Brokers: A Tour of the Kafka Ecosystem
Beyond the brokers - Un tour de l'écosystème Kafka
Au delà des brokers, un tour de l’environnement Kafka | Florent Ramière
Kafka for Real-Time Replication between Edge and Hybrid Cloud
Dataops on streaming data: Kafka to InfluxDb via Kubernetes native flows
Budapest Data/ML - Building Modern Data Streaming Apps with NiFi, Flink and K...
Devoxx university - Kafka de haut en bas
Safer Commutes & Streaming Data | George Padavick, Ohio Department of Transpo...
Bank of China Tech Talk 2: Introduction to Streaming Data and Stream Processi...
DataOps on Streaming Data: From Kafka to InfluxDB via Kubernetes Native Flows...
Spark Streaming + Kafka 0.10: an integration story by Joan Viladrosa Riera at...
Kubernetes connectivity to Cloud Native Kafka | Evan Shortiss and Hugo Guerre...
JHipster conf 2019 - Kafka Ecosystem
IoT and Event Streaming at Scale with Apache Kafka
Streaming Data Ingest and Processing with Apache Kafka
Bringing Streaming Data To The Masses: Lowering The “Cost Of Admission” For Y...
IoT Architectures for Apache Kafka and Event Streaming - Industry 4.0, Digita...
Chti jug - 2018-06-26
Ad

Recently uploaded (20)

PDF
Consumable AI The What, Why & How for Small Teams.pdf
PPTX
Modernising the Digital Integration Hub
PPTX
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PPTX
Benefits of Physical activity for teenagers.pptx
DOCX
Basics of Cloud Computing - Cloud Ecosystem
PDF
Statistics on Ai - sourced from AIPRM.pdf
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
PDF
CloudStack 4.21: First Look Webinar slides
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
PPT
What is a Computer? Input Devices /output devices
PPTX
Configure Apache Mutual Authentication
PDF
A proposed approach for plagiarism detection in Myanmar Unicode text
PPTX
Microsoft Excel 365/2024 Beginner's training
PDF
Flame analysis and combustion estimation using large language and vision assi...
PDF
Zenith AI: Advanced Artificial Intelligence
PPT
Geologic Time for studying geology for geologist
PPTX
The various Industrial Revolutions .pptx
Consumable AI The What, Why & How for Small Teams.pdf
Modernising the Digital Integration Hub
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
Taming the Chaos: How to Turn Unstructured Data into Decisions
sustainability-14-14877-v2.pddhzftheheeeee
Benefits of Physical activity for teenagers.pptx
Basics of Cloud Computing - Cloud Ecosystem
Statistics on Ai - sourced from AIPRM.pdf
Improvisation in detection of pomegranate leaf disease using transfer learni...
CloudStack 4.21: First Look Webinar slides
sbt 2.0: go big (Scala Days 2025 edition)
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
What is a Computer? Input Devices /output devices
Configure Apache Mutual Authentication
A proposed approach for plagiarism detection in Myanmar Unicode text
Microsoft Excel 365/2024 Beginner's training
Flame analysis and combustion estimation using large language and vision assi...
Zenith AI: Advanced Artificial Intelligence
Geologic Time for studying geology for geologist
The various Industrial Revolutions .pptx

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!