/* create and configure metrics */ val reporters = new util.ArrayList[MetricsReporter] reporters.add(new JmxReporter(jmxPrefix)) val metricConfig = KafkaServer.metricConfig(config) metrics = new Metrics(metricConfig, reporters, time, true) /* register broker metrics */ _brokerTopicStats = new BrokerTopicStats
kafka源码分析--- metrics管理
最新推荐文章于 2022-10-12 17:32:33 发布