Created 08-07-2018 09:02 AM
Created 08-09-2018 11:20 AM
Thanks @Felix Albani. I found it. For Scala code pls check this git hub link https://github.com/phatak-dev/spark2.0-examples/blob/master/src/main/scala/com/madhukaraphatak/examp.... This is exactly what i needed.
Created 08-07-2018 01:13 PM
Out of the box spark provides the fileStream. You can read more here:
https://spark.apache.org/docs/latest/streaming-programming-guide.html
HTH
*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.
Created 08-09-2018 05:41 PM
@Sudharsan Ganeshkumar if my answer has helped you please remember to login and mark it as accepted.
Created 08-09-2018 11:20 AM
Thanks @Felix Albani. I found it. For Scala code pls check this git hub link https://github.com/phatak-dev/spark2.0-examples/blob/master/src/main/scala/com/madhukaraphatak/examp.... This is exactly what i needed.