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

Refactor ReassignPartitionsCommand to use AdminClient

    XMLWordPrintableJSON

Details

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

    Description

      Currently the ReassignPartitionsCommand (used by kafka-reassign-partitions.sh) talks directly to ZooKeeper. It would be better to have it use the AdminClient API instead.

      This would entail creating two new protocol APIs, one to initiate the request and another to request the status of an in-progress reassignment. As such this would require a KIP.

      This touches on the work of KIP-166, but that proposes to use the ReassignPartitionsCommand API, so should not be affected so long as that API is maintained.

      Attachments

        Issue Links

          Activity

            People

              tombentley Tom Bentley
              tombentley Tom Bentley
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: