You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Manikumar (JIRA)" <ji...@apache.org> on 2018/08/28 07:08:00 UTC

[jira] [Resolved] (KAFKA-2238) KafkaMetricsConfig cannot be configured in broker (KafkaConfig)

     [ https://issues.apache.org/jira/browse/KAFKA-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manikumar resolved KAFKA-2238.
------------------------------
    Resolution: Duplicate

Resolving as duplicated of KAFKA-5066 which will add docs for KafkaMetricsConfig

> 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
>            Priority: Major
>         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
(v7.6.3#76005)