sky-uk / cqlmigrate

Cassandra schema migration library
BSD 3-Clause "New" or "Revised" License
47 stars 29 forks source link

Consider updating to support metrics 4.x #82

Open davidh87 opened 5 years ago

davidh87 commented 5 years ago

Cassandra driver 3.7.x doesn't work with metrics 4.x - the JMXReporter class has moved in metrics making it incompatible.

https://docs.datastax.com/en/developer/java-driver/3.5/manual/metrics/ details how to address this; disabling the JMX reporter when constructing the cluster and then optionally, explicitly setting up JMX reporting if desired.

I'm unsure if users of this library rely on the JMXReporter behaviour, so unsure whether to simply disable it always, or if there is a need to add support to optionally enable it.