Skip to content
A convenience library for Apache Cassandra integration in a Dropwizard service.
Java Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.mvn/wrapper
ci
src
.editorconfig
.gitignore
.travis.yml
LICENSE
README.md
mvnw
pom.xml

README.md

dropwizard-cassandra

Provides easy integration for Dropwizard applications with the Datastax Cassandra java driver..

This bundle comes with out-of-the-box support for:

  • YAML-based configuration and built-in strongly typed configuration validation
  • Cluster connection lifecycle management
  • Cluster health checks
  • Metrics integration for Cassandra driver stats using your applications MetricRegistry

Future improvements

  • Schema migrations functionality, similar to what flyway and liquibase offer for SQL databases.

Usage

Add dependency on library.

Maven:

<dependency>
  <groupId>io.dropwizard.modules</groupId>
  <artifactId>dropwizard-cassandra</artifactId>
  <version>1.3.12-1</version>
</dependency>

Gradle:

compile "io.dropwizard:dropwizard-cassandra:1.3.12-1"

Usage

TODO

Acknowledgements

This library was originally built to extend https://github.com/composable-systems/dropwizard-cassandra, but was forked due to some needs that were unmet (for instance, being able to define different CassandraFactory implementations, if a modified client is used), and due to lack of maintenance. Big thanks to @stuartgunter for his module, which inspired this one heavily, and for which this module borrows a lot of ideas and code.

You can’t perform that action at this time.