Skip to content

jeromatron/dse-kafka-stockticks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

DSE Kafka Stockticks

Borrowed heavily from Patrick Callaghan's datastax-kafka-example.

The goal of this version is to have a producer generate stock tick data and write to the tick-stream topic and then have a consumer read from the topic and write the tick data to a Cassandra table.

Setup

First start Kafka and add the topic tick-stream following these basic instructions.

Download and start DSE.

Setup the Cassandra schema by running the SchemaSetup class. Note: the keyspace replication settings use SimpleStrategy. Modify as needed.

Running

Start the TickProducer with the desired number of events.

Start the TickConsumer.

Verification

You can run the following in cqlsh:

select * from datastax_tickdata_demo.tick_data ;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages