I want to fetch stock exchange data from Alpha vantage API using Spark Streaming.
I used below API which return data in JSON format :
How to fetch continuous streaming of stock exchange data using Spark Streaming Java API.
@priyal patel You may want to look at creating a custom receiver for that rest endpoint:
Another less direct option would be to use Apache Nifi (HDF) to pull the stock exchange into Kafka. Then use Spark Kafka Streaming.
*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.
View solution in original post
Hi, @Felix Albani