Skip to content

self contained example that shows a basic pattern for writing to Solace from Spark partitions

Notifications You must be signed in to change notification settings

andrew-j-roberts/spark-to-solace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spark to Solace

This repository shows how you can write to Solace from Spark partitions. Here's a visualization of what this pattern looks like:

Spark to Solace architecture

Line 71 in App.java shows how you'd use row data in a Solace topic.

Running the example

Download Apache Spark: https://spark.apache.org/downloads.html

Clone this repository:

git clone https://github.com/andrew-j-roberts/spark-to-solace.git
cd spark-to-solace

Run this CLI command:

$SPARK_HOME/bin/spark-submit \
    --class "App" \
    --master "local[4]" \
    target/spark-to-solace-1.0-SNAPSHOT.jar

Resources

About

self contained example that shows a basic pattern for writing to Solace from Spark partitions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages