Registry / other / spark-streaming-2-11

spark-streaming-2-11

JSON →
library2.4.8javamavenunverified

Spark Streaming module for processing real-time data streams.

<dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-streaming_2.11</artifactId> <version>2.4.8</version> </dependency>
INSTALL
IMPORT
SIG · SPARK-STREAMING-2-
S
spark-streaming-2-11
otherjavav2.4.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

StreamingContext
org.apache.spark.streaming.StreamingContext

Create a Spark Streaming context.

import org.apache.spark.streaming.StreamingContext; import org.apache.spark.streaming.Seconds; import org.apache.spark.SparkConf; public class Example { public static void main(String[] args) { SparkConf conf = new SparkConf().setMaster("local[2]").setAppName("Streaming"); StreamingContext ssc = new StreamingContext(conf, Seconds.apply(1)); // define streaming operations ssc.start(); ssc.awaitTermination(); } }
Debug
Known issues
breakingSpark 2.4.x is outdated; consider upgrading to Spark 3.x.
fix
Migrate to spark-streaming_2.12 or spark-streaming_2.13 with Spark 3.x.
affects: 2.4.x
Upgrade
Version history
2.4.8latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Amazon
1
Resources
spark-streaming-2-11 — mvn dependency:get spark-streaming-2-11 · libregistry