Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2238

KafkaMetricsConfig cannot be configured in broker (KafkaConfig)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    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

      Attachments

        1. KAFKA-2238.patch
          11 kB
          Aditya A Auradkar

        Issue Links

          Activity

            People

              aauradkar Aditya Auradkar
              aauradkar Aditya Auradkar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: