* Added message sending
* sent message to kafka
* renamed docker service
* renamed message file
* Changed message to json
* fixed docker compose and messages
Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
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>
* 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>