Cloudera Employee
Posts: 481
Registered: ‎08-11-2014
Re: Spark Streaming save output to mysql DB

Yes, perfectly possible. It's not specific to Spark Streaming or even Spark; you'd just use foreachPartition to create and execute a SQL statement via JDBC over a batch of records. The code is just normal JDBC code.

View solution in original post

Who Me Too'd this solution