Skip to content

joscas/spark_streaming_cassandra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spark_streaming_cassandra

Example of Spark Streaming saving to Cassandra

To use with local Cassandra create keyspace and table first:

CREATE KEYSPACE streaming_test WITH REPLICATION = {'class': 'SimpleStrategy', 'replication_factor': 1 } ;
CREATE TABLE streaming_test.words (word text PRIMARY KEY, count int);"

Then start netcat on another shell tab and see the words you type appear in the words C* table:

$ nc -lk 9999

About

Example of Spark Streaming saving to Cassandra

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors