KSparkStreamingSession
This wrapper over SparkSession and JavaStreamingContext provides several additional methods to create org.apache.spark.sql.Dataset
Functions
Link copied to clipboard
Creates new spark session from given sc.
Creates new spark session from context of given JavaRDD, rddForConf.
Creates new spark session from context of given JavaStreamingContext, sscForConf
Link copied to clipboard
Link copied to clipboard
block will be run after the streaming session has started from a new context (so not when loading from a checkpoint) and before it's terminated.
Link copied to clipboard
Helper function to enter Spark scope from sc like
Helper function to enter Spark scope from a provided like when using the foreachRDD
function.
Helper function to enter Spark scope from sscForConf like