Streaming Telemetry Platform for a Connected Two-Wheeler Fleet
Challenge
Patchy rural connectivity meant bursts of delayed, duplicated and out-of-order messages. We added device-side sequence numbers, idempotent sinks and late-data side outputs so analytics stayed correct without dropping data.
Approach
Vehicles publish MQTT messages to an EMQX broker cluster bridged into Kafka. Flink jobs run windowed aggregations (state-of-charge trends, thermal anomalies, trip segmentation) with event-time processing and watermarks to handle out-of-order mobile network data. Hot data lands in a time-series store (TimescaleDB) for dashboards; cold data goes to Parquet on object storage for data science. A rules service lets operations staff define alert thresholds without code deployments.
Outcome
Thermal and battery anomaly alerts in near real time instead of after depot sync Illustratively ~30–50% faster warranty-claim root-cause analysis Platform scaled horizontally as the fleet grew, without re-architecture Data science teams got clean, partitioned historical data for model training Operations can tune alert rules without engineering tickets