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

Move all per-topic configuration into ZK and add to the CreateTopicCommand

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.1
    • Component/s: None
    • Labels:

      Description

      We have a number of per-topic configurations that control message retention and flush interval. Here is the list of properties I find in KafkaConfig that appear to be per-topic:
      topic.log.file.size
      topic.log.roll.hours
      topic.log.retention.hours
      topic.log.retention.size
      topic.flush.intervals.ms
      Currently we specify these in server.properties. This is not a good solution as it requires a rolling bounce of the cluster to make a change, which just doesn't scale to having hundreds of topics. Also the map encoded in a CSV string is kind of hacky.

      We should move these into ZK in some kind of JSON blob that allows easily adding new per-topic configs and we should remove these from server.properties.

      It would be good to start with a wiki design and get consensus on that first.

        Attachments

        1. KAFKA-554-v1.patch
          134 kB
          Jay Kreps
        2. KAFKA-554-v2.patch
          124 kB
          Jay Kreps
        3. KAFKA-554-v3.patch
          124 kB
          Jay Kreps
        4. KAFKA-554-v4.patch
          127 kB
          Jay Kreps

          Activity

            People

            • Assignee:
              jkreps Jay Kreps
              Reporter:
              jkreps Jay Kreps
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: