management-api-for-apache-cassandra
management-api-for-apache-cassandra copied to clipboard
[WIP] Add Cassandra 4.1 builds
Fixes #122
This is (closer to) the correct fix for supporting Cassandra 4.1.
The main changes are:
- Add a new agent sub-module for 4.1
- Consolidate duplicate agent code (where possible)
Background: For Cassandra 4.1, the Dispatcher class (as of CASSANDRA-16663) requires an Overload to be supplied to calls to processRequest. The agent code here makes calls to this method, so a new agent for 4.1 needed to be created to avoid using Java reflection tricks to determine the correct method to invoke.