Skip to content

bitrockteam/codemotion-demo-2024

Codemotion 2024 Fleet Demo

Demo project for the Codemotion 2024 talk, forked and inspired by Waterstream Demo. See https://codemotion2024.bitrock.it to access the demo.

Tools used:

  • Kubernetes - open source system for automating deployment, scaling, and management of containerized applications.
  • Waterstream - Kafka-native MQTT broker
  • Radicalbit - Your ready-to-use MLOps platform for Machine Learning.
  • Flink - framework and distributed processing engine for stateful computations over unbounded and bounded data streams.
  • Confluent Kafka - The Data Streaming Platform, deployed with Kubernetes operator.
  • PostgreSQL - the World's Most Advanced Open Source Relational Database.
  • Kafbat UI - Versatile, fast and lightweight web UI for managing Apache Kafka clusters.
  • Openrouteservice - A highly customizable, performant routing service written in Java.

Trucks are moving along the randomly assigned routes, reporting their location and nearest waypoint to the MQTT broker.

Small subset of the fleet is displayed on the map. As the data ends up in Kafka Flink is used to build some aggregates.

Some of the results of aggregations (like the direction statistics) are retrieved back through MQTT (remember - Waterstream is a Kafka-native MQTT broker) directly into UI using MQTT WebSocket transport. Other aggregation result are persisted on PostgreSQL and used to provide RAG feature to an langchain agent.