[ https://issues.apache.org/jira/browse/KAFKA-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aditya Auradkar updated KAFKA-2238: ----------------------------------- Description: All metrics config values are not included in KafkaConfig and consequently cannot be configured into the brokers. This is because the KafkaMetricsReporter is passed a properties object generated by calling toProps on KafkaConfig KafkaMetricsReporter.startReporters(new VerifiableProperties(serverConfig.toProps)) However, KafkaConfig never writes these values into the properties object and hence these aren't configurable. The defaults always apply Add the following metrics to KafkaConfig kafka.metrics.reporters, kafka.metrics.polling.interval.secs, kafka.csv.metrics.reporter.enabled, kafka.csv.metrics.dir was: All metrics config values are not included in KafkaConfig and consequently do not show up in the generated documentation. Add the following metrics to KafkaConfig kafka.metrics.reporters, kafka.metrics.polling.interval.secs, kafka.csv.metrics.reporter.enabled, kafka.csv.metrics.dir These metrics are read from > KafkaMetricsConfig cannot be configured in broker (KafkaConfig) > --------------------------------------------------------------- > > Key: KAFKA-2238 > URL: https://issues.apache.org/jira/browse/KAFKA-2238 > Project: Kafka > Issue Type: Bug > Reporter: Aditya Auradkar > Assignee: Aditya Auradkar > Attachments: KAFKA-2238.patch > > > All metrics config values are not included in KafkaConfig and consequently > cannot be configured into the brokers. This is because the > KafkaMetricsReporter is passed a properties object generated by calling > toProps on KafkaConfig > KafkaMetricsReporter.startReporters(new > VerifiableProperties(serverConfig.toProps)) > However, KafkaConfig never writes these values into the properties object and > hence these aren't configurable. The defaults always apply > Add the following metrics to KafkaConfig > kafka.metrics.reporters, kafka.metrics.polling.interval.secs, > kafka.csv.metrics.reporter.enabled, kafka.csv.metrics.dir -- This message was sent by Atlassian JIRA (v6.3.4#6332)