Sensor data collection and analytics with ThingsBoard and Spark Streaming