* 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>
* Backend for updating topics, fixed backend from another pr branches
* Changed caching of extendedAdminClient instances
Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
* Added segmentSize for topic level
* Added segmentSize to clusterMetrics object
* Added internalClusterState for storing clusterMetrics linked to cluster's brokersIds
* InternalBrokersMetrics param added to InternalClusterMetrics
* Changed topic segment counting logic by finding the partition leader, added partition collecting in topic
* Added segmentSize info to cluster, broker, topic and topicPartition level
* Reduce to map moved to clusterutil, leader moved in cache
* Cleared some code
Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
* Added concumer groups list with search.
* Added consumer group details view.
* Minor tweaks.
* Backend group details (#19)
* temp result commit
* consumer group details api done
* fixes
* changed calls from loop into vars, changed foreach to map
* changes
* removed redundant import
* Refactoring, fixed contract
* Fixed useless group query
* fix-consumer-groups-retaining-cluster-on-cluster-switch
Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
Co-authored-by: German Osin <german.osin@gmail.com>
Co-authored-by: Azat Gataullin <gataniel@gmail.com>
* Add loader, fix details
* Add empty text for consumer groups
Co-authored-by: Sofia Shnaidman <sshnaidman@provectus.com>
Co-authored-by: Roman Nedzvetskiy <gmcodemail@gmail.com>
Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
Co-authored-by: German Osin <german.osin@gmail.com>
Co-authored-by: Azat Gataullin <gataniel@gmail.com>
Co-authored-by: Maxim Tereshin <tereshin93@gmail.com>