DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

SBOMs are essential to circumventing software supply chain attacks, and they provide visibility into various software components.

Related

  • How to Stream Sensor Data to Apache Pinot for Real Time Analysis
  • Using KRaft Kafka for Development and Kubernetes Deployment
  • OPC-UA and MQTT: A Guide to Protocols, Python Implementations
  • Building Scalable AI-Driven Microservices With Kubernetes and Kafka

Trending

  • Building an AI Nutrition Coach With OpenAI, Gradio, and gTTS
  • How Developers Are Driving Supply Chain Innovation With Modern Tech
  • Indexed Views in SQL Server: A Production DBA's Complete Guide
  • 10 Predictions Shaping the Future of Web Data Extraction Services
  1. DZone
  2. Data Engineering
  3. Big Data
  4. IoT Live Demo: 100.000 Connected Cars With Kubernetes, Kafka, MQTT, TensorFlow

IoT Live Demo: 100.000 Connected Cars With Kubernetes, Kafka, MQTT, TensorFlow

Check out this live IoT demo to learn more about connected cars.

By 
Kai Wähner user avatar
Kai Wähner
DZone Core CORE ·
Nov. 11, 19 · Presentation
Likes (10)
Comment
Save
Tweet
Share
29.2K Views

Join the DZone community and get the full member experience.

Join For Free

IoT live demo of driverless car

Do you want to see an Internet of Things (IoT) example on a large scale? Not just 100 or 1000 devices producing data, but a really scalable demo with millions of messages from tens of thousands of devices? If so, this is the right demo for you — we leveraging Kubernetes, Apache Kafka, MQTT, and TensorFlow.

You may also like: Apache Kafka and MQTT: End-to-End IoT Integration

The demo shows how you can integrate with tens or hundreds of thousands of IoT devices and process the data in real-time. The demo use case is predictive maintenance (i.e. anomaly detection) in a connected car infrastructure to predict motor engine failures:

Image titleIoT Infrastructure: MQTT and Kafka on Kubernetes

We deploy Kubernetes, Kafka, MQTT, and TensorFlow in a scalable, cloud-native infrastructure to integrate and analyze sensor data from 100000 cars in real-time. The infrastructure is built with Terraform. We use GCP, but you could do the same on AWS, Azure, Alibaba, or on-premises.

Data processing and analytics are done in real-time at scale with GCP GKE, HiveMQ, Confluent, and TensorFlow I/O for streaming machine learning/ deep learning and bi-directional communication in a scalable, elastic, and reliable infrastructure:

Image title

GitHub Project: 100000 Connected Cars

The project is available on GitHub. You can set the demo up in ~30 min by just installing a few CLI tools and executing two or three shell scripts.

Check out the Github project: "Streaming Machine Learning at Scale from 100000 IoT Devices with HiveMQ, Apache Kafka and TensorFlow."

Please try out the demo. Feedback and PRs are welcome.

20 min Live Demo: IoT at Scale on GCP With GKE, Confluent, HiveMQ, and TensorFlow IO

Here is the video recording of the live demo:


If your area of interest is Industrial IoT (IIoT), you might also check out the following example. It covers the integration of machines and PLCs like Siemens S7, Modbus or Beckhoff in factories and shop floors:

Apache Kafka, KSQL and Apache PLC4X for IIoT Data Integration and Processing

Happy learning!

Further Reading

TensorFlow + MQTT + Apache Kafka

Apache Kafka and MQTT: End-to-End IoT Integration

kafka IoT MQTT Kubernetes TensorFlow

Published at DZone with permission of Kai Wähner, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • How to Stream Sensor Data to Apache Pinot for Real Time Analysis
  • Using KRaft Kafka for Development and Kubernetes Deployment
  • OPC-UA and MQTT: A Guide to Protocols, Python Implementations
  • Building Scalable AI-Driven Microservices With Kubernetes and Kafka

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • [email protected]

Let's be friends: