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

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

    XMLWordPrintableJSON

    Details

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

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: