* Updated schemas required props.
* Renamed long to int64 params
Co-authored-by: Sofia Shnaidman <sshnaidman@provectus.com>
Co-authored-by: German Osin <german.osin@gmail.com>
* Start doing endpoint for jmx metrics
* Added endpoint for getting jmx metric per broker
* Cluster jmx metrics sum endpoit added
* Added endpoints for cluster metrics and broker metrics
* Cleared some code
* Fixed jmxmetrics names
* Changed to all values in metrics
* Removed redundant imports
* Renamed param constant
* Changed to calculate brokers and clusters metrics in one place
* Removed redundant imports
* Fixed some mistakes
* Replaced multiple method usage into single
* Fixed mulptiple call
* Removed cluster level metrics, now only broker-level metrics in cluster
* Just small fixes
* removed redundant variable
* Renamed method for cluster level metrics
* Fixed after PR and added sum for number cluster metrics by num and persec keywords in canonicalname
* Added metricdto object
* Added list of metrics to enum
* Renames and optimizings
* Renamed jmxmetrics objects param to metrics
Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
* Added begin and end offset param
* moved consumer to try with resources block
* Fixed some problems
* Moved to gettopicdetails
* Cleanup code
Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
Co-authored-by: German Osin <german.osin@gmail.com>
* Fixed issue with wrong parameter type
* Changed object to number
* Changede object to number jmx metrics
Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
* Added bytesIn/OutPerSec params for clusterMetrics object
* Removed redundant todos, cleaned imports
* Jmx connections moved to pool, methods moved to separate classes
* Added pool handling and returning methods
* Fix after previous PR comments - fixed result map, configured pool, removed redundant methods and code
* Removed redundant imports and empty initialization
* Removed fill method
* Closing connection replaced to destroyObject method
* Try catch block while returning object to pool was fixed
* Removed redundant logs and try catch
Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>