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

KafkaConfig does not preserve original Properties

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0.0
    • Component/s: None
    • Labels:
      None

      Description

      We typically generate configuration from properties objects (or maps).
      The old KafkaConfig, and the new ProducerConfig and ConsumerConfig all retain the original Properties object, which means that if the user specified properties that are not part of ConfigDef definitions, they are still accessible.

      This is important especially for MetricReporters where we want to allow users to pass arbitrary properties for the reporter.

      One way to support this is by having KafkaConfig implement AbstractConfig, which will give us other nice functionality too.

        Attachments

        1. KAFKA-2249.patch
          49 kB
          Gwen Shapira
        2. KAFKA-2249_2015-06-17_17:35:35.patch
          109 kB
          Gwen Shapira

          Activity

            People

            • Assignee:
              gwenshap Gwen Shapira
              Reporter:
              gwenshap Gwen Shapira
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: