FlightEdge is a telemetry-to-anomaly-detection sandbox for realtime edge ML workflows.
The Kafka telemetry stream is already operational on:
- Topic:
flightedge - Broker:
localhost:9092 - Message key:
flight_id(preserves per-flight ordering)
Phase 3 focuses on transforming raw telemetry streams into model-ready features.
Build a preprocessing and feature extraction layer that converts live telemetry data into rolling-window statistics and derived signals for anomaly detection.
- Build a preprocessing pipeline for incoming telemetry events.
- Implement rolling windows over time-series telemetry.
- Compute derived features (moving averages, rates of change, variance, z-scores).
- Normalize or scale features where appropriate.
- Ensure the feature pipeline runs continuously in realtime.
- Validate model input vectors.
- Document feature definitions and processing decisions.
consumer/preprocess.pyfor raw telemetry transformation.consumer/feature_windows.pyfor rolling feature computation.- Validated, model-ready feature vectors.
- Documentation for feature definitions and flow.
FlightEdge/
├── producer/ # Telemetry generation and Kafka publishing
├── consumer/ # Kafka consumption + upcoming feature pipeline
├── data/ # Schema and generated telemetry samples
├── model/ # Model training/inference/export placeholders
├── benchmarks/ # Benchmark placeholders
├── dashboard/ # UI placeholder
├── docs/ # Lightweight architecture and roadmap notes
├── docker-compose.yml
└── requirements.txt
- Start Kafka:
docker compose up -d- Install Python dependency:
pip install -r requirements.txt- Start consumer:
python consumer/consumer.py \
--kafka-bootstrap-servers localhost:9092 \
--kafka-topic flightedge- Stream telemetry:
python producer/telemetry_generator.py \
--mode kafka \
--kafka-bootstrap-servers localhost:9092 \
--kafka-topic flightedge \
--flight-id FLIGHT-001 \
--rows 240 \
--event-interval-ms 200 \
--max-events 20