I\'ve been facing a problem with \"Spark Streaming\" about the insertion of output Dstream into a permanent SQL table. I\'d like to insert every output DStream (com
Instead of using external connectors better go for spark structured streaming .
Vanilla Spark does not provide a way to persist data unless you've downloaded the version packaged with HDFS (although they appear to be playing with the idea in Spark 2.0). One way to store the results to a permanent table and query those results later is to use one of the various databases in the Spark Database Ecosystem. There are pros and cons to each and your use case matters. I'll provide something close to a master list. These are segmented by: