Sensor data collection and analytics with thingsboard and spark streaming