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

AdminZkClient.validateTopicCreate() should validate that partitions are 0-based

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • None

    Description

      AdminZkClient.validateTopicCreate() currently doesn't validate that partition ids in a topic are consecutive, starting from 0. The client code depends on that. So, it would be useful to tighten up the check.

      Attachments

        Issue Links

          Activity

            People

              ctchen Ryan
              junrao Jun Rao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: