Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 06-28-2018 10:20 AM
Hi,
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.
Created 07-03-2018 07:10 PM
@priyal patel You may want to look at creating a custom receiver for that rest endpoint:
http://spark.apache.org/docs/latest/streaming-custom-receivers.html
Another less direct option would be to use Apache Nifi (HDF) to pull the stock exchange into Kafka. Then use Spark Kafka Streaming.
HTH
*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.
Created 07-03-2018 07:10 PM
@priyal patel You may want to look at creating a custom receiver for that rest endpoint:
http://spark.apache.org/docs/latest/streaming-custom-receivers.html
Another less direct option would be to use Apache Nifi (HDF) to pull the stock exchange into Kafka. Then use Spark Kafka Streaming.
HTH
*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.
Created 07-05-2018 09:51 AM
Hi, @Felix Albani
Thanks.