jsevellec / cassandra-unit

Utility tool to load Data into Cassandra to help you writing good isolated JUnit Test into your application
GNU Lesser General Public License v3.0
424 stars 1 forks source link

Not compatible with dropwizard-metrics-jmx 4.x #255

Closed erikvanoosten closed 6 years ago

erikvanoosten commented 6 years ago

Cassandra-unit is not compatible with dropwizard-metrics-jmx. The problem is that since 4.x the JmxReporter moved out of dropwizard-metrics-core and the package name changed. When the cassandra driver starts a JmxReporter the class is not there.

Cassandra should not start a JMX Reporter during unit tests. Luckily this can be disabled through Cassandra configuration.

Please disable reporting metrics by default. Another option is to disable metrics completely.