-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.2.0
-
Component/s: API, Documentation
Hi, is it possible that MongoDB Spark Connector supports Spark Structured Streaming?
At the moment MongoDB Spark Connector 2.2.0 supports Spark Streaming but I can't find info about supporting Structured Streaming.
Alternatively, as a workaround can you tell me how can I write the "Starting Streaming Queries" code in order to save the Streaming Dataframe?
At the moment I have correctly inserted Structured Dataframes into MongoDB, but with no streaming.
I think I should use foreach method, but at the moment I don't know how to implement it.
Here's a little code examples inserting a Dataframe (done correctly) and Structured Streaming (I can't do it) into MongoDB :
https://gist.github.com/rvilla87/4ff36b9b78dd65947ed761ebb54a7bb6
Thanks in advance!
- duplicates
-
SPARK-85 Support structured streams
- Development Complete