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

Allow configuration of MetricsReporter subclasses

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.10.1.0
    • clients, streams
    • None

    Description

      The current interface for attaching metrics reporters to clients allows only defining a list of class names, but provides no means for configuring those reporters.

      There is at least one existing project (https://github.com/apakulov/kafka-graphite) that solves this problem by passing additional properties into the client, which then get passed on to the reporter. This seems to work quite well, but it generates warnings like The configuration kafka.graphite.metrics.prefix = foo was supplied but isn't a known config.

      Should passing arbitrary additional parameters like this be officially supported as the way to configure metrics reporters? Should these warnings about unrecognized parameters be removed?

      Perhaps there should be some mechanism for registering additional configuration parameters for clients to expect?

      Attachments

        Issue Links

          Activity

            People

              guozhang Guozhang Wang
              jeff.klukas@gmail.com Jeff Klukas
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: