How can I run Apache Cassandra programmatically

Hi, I want to embed Apache Cassandra in my Java program, how can I run it programmatically?

+4
source share
2 answers

Now we do this in our utils test module (which also has no dependency on hector-core)

https://github.com/rantav/hector/tree/master/test/src/main/java/me/prettyprint/hector/testutils

As stated in the comments, there is no clean shutdown state. You can just kill.

+1
source

All Articles