Elassandra now support JMXMP

When we run a java process it is very convenient to connect through JMX to diagnose some JVM behaviour (memory consumption, thread activities, MBean attributes...), but JMX over RMI this not always possible through firewalls or tunnels, and especially through Kubernetes port forwarding.

The solution: JMXMP

Enable JMXMP for Elassandra

Since the version, Elassandra implements a JMXMP server to allow remote connection over JMXMP. Just run Elassandra with the cassandra.jmxmp system property:

Connect VisualVM through JMXMP

To connect with VisualVM, you have to download the JMDK library from maven, and execute visualvm by appending the downloaded jar in the classpath.

Secure your JMXMP connection

Elassandra support TLS/SSL encryption and SASL plain text login/password authentication with the same settings as JMX over RMI, but unfortunately, few tools support-it right now and a https://github.com/oracle/visualvm/issues/162 is open on visualVM.