SlideShare a Scribd company logo
A prototype of utilizing Apache Kafka
and Lightweight M2M protocol as the
backbone for cloud/edge IoT
integration
Christos Vasilakis
Consultant
Twitter: @cvasilak
A prototype of utilizing Apache Kafka and Lightweight M2M protocol as the backbone for cloud/edge IoT integration
Why Kafka?
● Entered mature phase by providing a rich ecosystem of frameworks to build upon.
● Easy for programmers to get started by simple programming constructs and semantics.
● Supporting next gen. Real Time Streaming and Event Driven architectures.
● First class support by many real-time analytical frameworks e.g. Kafka Streams, KSQL, Spark
or Flink.
● Scalability and fault-tolerance built-in in the components with excessive list of knobs to adjust
for specific requirements and use cases.
Why Kafka on the edge?
● Support of replication of data between brokers in the form of Apache MirrorMaker or
Confluent’s own Replicator.
● Eliminating another dependency to a database to store the messages since they are stored to
Kafka itself (single source of truth).
● Disconnected and offline operation of edge gateways since messages are stored locally at the
edge and replicated to the cloud when connection resumes.
● Ability to deploy Kafka Stream analytics at the edge for real-time processing of incoming
messages.
● A running Kafka broker at the edge allows us to develop new event-driven microservices to
support new requirements, with familiar programming model.
Why LightweightM2M (LWM2M) ?
● Supports embedded hardware with limited resources and limited bandwidth connectivity. Both
Zephyr and Contiki-ng operating systems supports it and can be deployed to many types of
hardware devices.
● Designed by telecom providers to support real-world scenarios in managing million of devices at
the field, so it’s usage and limitations are well understood and documented.
● The specification is an open standard and actively developed incorporating newest developments
such as support for LORA and NB-IoT.
● Availability of robust implementations for a variety of languages which makes it easy for the
developer to get started.
● The protocol provides enough flexibility in it’s design that allows routing of many existing protocols
such as Modbus or OPC UA. Check leshan-modbus-adapter github page for more details
Resources
● Blog post describing the architecture
https://bit.ly/kafka-lwm2m
● Github project with a detailed setup guide to experiment
https://github.com/zeelos/zeelos
Demo
Thank you

More Related Content

PDF
Distributed Enterprise Monitoring and Management of Apache Kafka (William McL...
PPTX
Monoliths to Microservices: App Transformation - Jacksonville Workshop Slides
PDF
Kubernetes: The evolution of distributed systems | DevNation Tech Talk
PDF
Viktor Chesnokov "Asynchronous Messaging in Distributed Systems with Akka"
PDF
Project calico - introduction
PPTX
Containers Live Migration for Enterprise Java Applications in a DevOps PaaS
PDF
Understanding Kafka Produce and Fetch api calls for high throughtput applicat...
PDF
Kafka and Kafka Streams in the Global Schibsted Data Platform
Distributed Enterprise Monitoring and Management of Apache Kafka (William McL...
Monoliths to Microservices: App Transformation - Jacksonville Workshop Slides
Kubernetes: The evolution of distributed systems | DevNation Tech Talk
Viktor Chesnokov "Asynchronous Messaging in Distributed Systems with Akka"
Project calico - introduction
Containers Live Migration for Enterprise Java Applications in a DevOps PaaS
Understanding Kafka Produce and Fetch api calls for high throughtput applicat...
Kafka and Kafka Streams in the Global Schibsted Data Platform

What's hot (20)

PDF
Lightweight and scalable IoT Architectures with MQTT
PPTX
Why nfv and digital transformation projects fail!
PDF
Kafka at the Edge: an IoT scenario with OpenShift Streams for Apache Kafka | ...
PPTX
Bye bye WCF, hello gRPC
PPTX
Stream processing IoT time series data with Kafka & InfluxDB | Al Sargent, In...
PDF
5 lessons learned for successful migration to Confluent cloud | Natan Silinit...
PPTX
Cloud native microservices for systems and applications ieee rev2
PDF
[WSO2Con USA 2018] Architecting for Container-native Environments
PDF
Xpdays: Kubernetes CI-CD Frameworks Case Study
PDF
redBorder at Mobile World Congress 2015
PDF
Asynchronous Transaction Processing With Kafka as a Single Source of Truth - ...
PPT
Drive into calico architecture part 2
PPTX
Kubernetes + netflix oss
PPTX
A Look into the Mirror: Patterns and Best Practices for MirrorMaker2 | Cliff ...
PDF
Stream Processing with Kafka and KSQL in Jupiter | Namit Mahuvakar, Jupiter
PDF
Moving 150 TB of data resiliently on Kafka With Quorum Controller on Kubernet...
PDF
The Service Mesh: It's about Traffic
PPTX
Dangerous Demo, Metaswitch TADSummit 2015, Paul Drew
PPT
Calico to secure host interfaces
PPTX
Messaging-as-a-Service Rivieradev 2017
Lightweight and scalable IoT Architectures with MQTT
Why nfv and digital transformation projects fail!
Kafka at the Edge: an IoT scenario with OpenShift Streams for Apache Kafka | ...
Bye bye WCF, hello gRPC
Stream processing IoT time series data with Kafka & InfluxDB | Al Sargent, In...
5 lessons learned for successful migration to Confluent cloud | Natan Silinit...
Cloud native microservices for systems and applications ieee rev2
[WSO2Con USA 2018] Architecting for Container-native Environments
Xpdays: Kubernetes CI-CD Frameworks Case Study
redBorder at Mobile World Congress 2015
Asynchronous Transaction Processing With Kafka as a Single Source of Truth - ...
Drive into calico architecture part 2
Kubernetes + netflix oss
A Look into the Mirror: Patterns and Best Practices for MirrorMaker2 | Cliff ...
Stream Processing with Kafka and KSQL in Jupiter | Namit Mahuvakar, Jupiter
Moving 150 TB of data resiliently on Kafka With Quorum Controller on Kubernet...
The Service Mesh: It's about Traffic
Dangerous Demo, Metaswitch TADSummit 2015, Paul Drew
Calico to secure host interfaces
Messaging-as-a-Service Rivieradev 2017
Ad

Similar to A prototype of utilizing Apache Kafka and Lightweight M2M protocol as the backbone for cloud/edge IoT integration (20)

PDF
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
PDF
GK6Sept2024 for education purpose in eng
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
PPTX
From Device to Data Center to Insights: Architectural Considerations for the ...
PDF
From Device to Data Center to Insights
PDF
Integrating Sparkplug IoT Edge of Network Nodes with Kafka with Yves Kurz
PDF
MQTT. Kafka. InfluxDB. SQL. IoT Harmony. #tutorial by Stefan Bocutiu
PDF
Ingesting and Processing IoT Data - using MQTT, Kafka Connect and KSQL
PDF
Ingesting and Processing IoT Data Using MQTT, Kafka Connect and Kafka Streams...
PDF
Apache Kafka - Free Friday
PDF
IoT Sensor Analytics with Kafka, ksqlDB and TensorFlow
PDF
Io t data streaming
PDF
Fundamental components of the Internet of Things unit 1.pdf
PDF
IoT Story: From Edge to HDP
PPTX
Embedded to connected
PDF
AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...
PDF
IoT - Understanding internet of things
PDF
Big Data Streams Architectures. Why? What? How?
PDF
Building Blocks for IoT
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
GK6Sept2024 for education purpose in eng
IoT Sensor Analytics with Python, Jupyter, TensorFlow, Keras, Apache Kafka, K...
Processing IoT Data from End to End with MQTT and Apache Kafka
From Device to Data Center to Insights: Architectural Considerations for the ...
From Device to Data Center to Insights
Integrating Sparkplug IoT Edge of Network Nodes with Kafka with Yves Kurz
MQTT. Kafka. InfluxDB. SQL. IoT Harmony. #tutorial by Stefan Bocutiu
Ingesting and Processing IoT Data - using MQTT, Kafka Connect and KSQL
Ingesting and Processing IoT Data Using MQTT, Kafka Connect and Kafka Streams...
Apache Kafka - Free Friday
IoT Sensor Analytics with Kafka, ksqlDB and TensorFlow
Io t data streaming
Fundamental components of the Internet of Things unit 1.pdf
IoT Story: From Edge to HDP
Embedded to connected
AI&BigData Lab 2016. Сарапин Виктор: Размер имеет значение: анализ по требова...
IoT - Understanding internet of things
Big Data Streams Architectures. Why? What? How?
Building Blocks for IoT
Ad

Recently uploaded (20)

PPTX
Emphasizing It's Not The End 08 06 2025.pptx
PDF
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
PDF
COLEAD A2F approach and Theory of Change
PPTX
Self management and self evaluation presentation
PDF
Tunisia's Founding Father(s) Pitch-Deck 2022.pdf
PPTX
fundraisepro pitch deck elegant and modern
PPTX
Primary and secondary sources, and history
PPTX
worship songs, in any order, compilation
PPTX
ART-APP-REPORT-FINctrwxsg f fuy L-na.pptx
PPTX
BIOLOGY TISSUE PPT CLASS 9 PROJECT PUBLIC
PPTX
Sustainable Forest Management ..SFM.pptx
PDF
Swiggy’s Playbook: UX, Logistics & Monetization
PPTX
Relationship Management Presentation In Banking.pptx
PPTX
nose tajweed for the arabic alphabets for the responsive
PPTX
An Unlikely Response 08 10 2025.pptx
PPTX
Introduction-to-Food-Packaging-and-packaging -materials.pptx
PPTX
Impressionism_PostImpressionism_Presentation.pptx
PPTX
Anesthesia and it's stage with mnemonic and images
PPTX
2025-08-10 Joseph 02 (shared slides).pptx
PPTX
Tour Presentation Educational Activity.pptx
Emphasizing It's Not The End 08 06 2025.pptx
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
COLEAD A2F approach and Theory of Change
Self management and self evaluation presentation
Tunisia's Founding Father(s) Pitch-Deck 2022.pdf
fundraisepro pitch deck elegant and modern
Primary and secondary sources, and history
worship songs, in any order, compilation
ART-APP-REPORT-FINctrwxsg f fuy L-na.pptx
BIOLOGY TISSUE PPT CLASS 9 PROJECT PUBLIC
Sustainable Forest Management ..SFM.pptx
Swiggy’s Playbook: UX, Logistics & Monetization
Relationship Management Presentation In Banking.pptx
nose tajweed for the arabic alphabets for the responsive
An Unlikely Response 08 10 2025.pptx
Introduction-to-Food-Packaging-and-packaging -materials.pptx
Impressionism_PostImpressionism_Presentation.pptx
Anesthesia and it's stage with mnemonic and images
2025-08-10 Joseph 02 (shared slides).pptx
Tour Presentation Educational Activity.pptx

A prototype of utilizing Apache Kafka and Lightweight M2M protocol as the backbone for cloud/edge IoT integration

  • 1. A prototype of utilizing Apache Kafka and Lightweight M2M protocol as the backbone for cloud/edge IoT integration Christos Vasilakis Consultant Twitter: @cvasilak
  • 3. Why Kafka? ● Entered mature phase by providing a rich ecosystem of frameworks to build upon. ● Easy for programmers to get started by simple programming constructs and semantics. ● Supporting next gen. Real Time Streaming and Event Driven architectures. ● First class support by many real-time analytical frameworks e.g. Kafka Streams, KSQL, Spark or Flink. ● Scalability and fault-tolerance built-in in the components with excessive list of knobs to adjust for specific requirements and use cases.
  • 4. Why Kafka on the edge? ● Support of replication of data between brokers in the form of Apache MirrorMaker or Confluent’s own Replicator. ● Eliminating another dependency to a database to store the messages since they are stored to Kafka itself (single source of truth). ● Disconnected and offline operation of edge gateways since messages are stored locally at the edge and replicated to the cloud when connection resumes. ● Ability to deploy Kafka Stream analytics at the edge for real-time processing of incoming messages. ● A running Kafka broker at the edge allows us to develop new event-driven microservices to support new requirements, with familiar programming model.
  • 5. Why LightweightM2M (LWM2M) ? ● Supports embedded hardware with limited resources and limited bandwidth connectivity. Both Zephyr and Contiki-ng operating systems supports it and can be deployed to many types of hardware devices. ● Designed by telecom providers to support real-world scenarios in managing million of devices at the field, so it’s usage and limitations are well understood and documented. ● The specification is an open standard and actively developed incorporating newest developments such as support for LORA and NB-IoT. ● Availability of robust implementations for a variety of languages which makes it easy for the developer to get started. ● The protocol provides enough flexibility in it’s design that allows routing of many existing protocols such as Modbus or OPC UA. Check leshan-modbus-adapter github page for more details
  • 6. Resources ● Blog post describing the architecture https://bit.ly/kafka-lwm2m ● Github project with a detailed setup guide to experiment https://github.com/zeelos/zeelos