Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rupeshtr78/mqttspark

IOT Device MQTT Spark Streaming
https://github.com/rupeshtr78/mqttspark

cassandra gpio iot mqtt mqtt-broker mqtt-client raspberry-pi spark spark-streaming yarn

Last synced: 2 days ago
JSON representation

IOT Device MQTT Spark Streaming

Awesome Lists containing this project

README

        

We will create a IOT Device / MQTT Client using Raspberry Pi .With a simple push button switch to simulate an event using bread board connected to the Pi device.

In the event of pressing button the device will publish access logs ( In our case we will read from a file line by line) to the broker. Later we will create a Spark Streaming application which will read the published topic and related messages into spark stream .Using Spark we will parse the log data ,count the status field using Spark window functions and watermark. Finally we will write the stream of data to Cassandra sink.

More details of this implementation can be found here on my [blog](https://rupeshtr78.github.io/blog/)