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

topic-level configuration not validated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.1.1
    • 0.9.0.0
    • None

    Description

      I was able to set the configuration for a topic to these invalid values:

      Topic:topic-config-test  PartitionCount:1        ReplicationFactor:2     Configs:min.cleanable.dirty.ratio=-30.2,segment.bytes=-1,retention.ms=-12,cleanup.policy=lol
      

      It seems that the values are saved as long as they are the correct type, but are not validated like the corresponding broker-level properties.

      Attachments

        1. KAFKA-1667_2014-11-25_12:03:56.patch
          40 kB
          Dmytro Kostiuchenko
        2. KAFKA-1667_2014-11-16_18:33:10.patch
          39 kB
          Dmytro Kostiuchenko
        3. KAFKA-1667_2014-11-16_18:31:34.patch
          38 kB
          Dmytro Kostiuchenko
        4. KAFKA-1667_2014-11-12_12:49:11.patch
          31 kB
          Dmytro Kostiuchenko
        5. KAFKA-1667_2014-11-07_14:28:14.patch
          27 kB
          Dmytro Kostiuchenko
        6. KAFKA-1667_2014-11-06_17:10:14.patch
          25 kB
          Dmytro Kostiuchenko
        7. KAFKA-1667_2014-11-05_19:43:53.patch
          11 kB
          Dmytro Kostiuchenko

        Activity

          People

            edio Dmytro Kostiuchenko
            rberdeen Ryan Berdeen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: