Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 997 Bytes

File metadata and controls

14 lines (11 loc) · 997 Bytes

simple-phantom-cassandra-example

This is a simple, but complete example on how to use the cassandra client library phantom. It contains the small pieces that I found missing in the available tutorials on phantom and cassandra, such as creating the schemas, enabling logging for phantom and finally tearing down the connection properly.

In this example a sequence of events is generated. Afterwards the events for a given time frame are fetched and printed.

Explanation of the concepts

Websudos series on cassandra was a good start for me:

Also, checkout the official wiki: