smartcat-labs / cassandra-diagnostics

Cassandra Node Diagnostics Tools
Apache License 2.0
51 stars 6 forks source link

Make QueryReporter part of commons module #174

Closed nbozic-zz closed 7 years ago

nbozic-zz commented 7 years ago

Currently we have Connector21QueryReporter and Connector30QueryReporter and they are part of connector module instead of commons just because they handle CQLStatement and ClientState which are part of Cassandra source code, and connector modules have dependency on Cassandra code.

Idea is to handle everything in DiagnosticsQueryHandler and extract reporting part to common class.