Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Authz, again

...

FieldDescription
partition_ida partition of the topic
timeoutthe time to wait for the election to complete

The request will require ClusterAction AlterCluster on the Cluster resource, since it is a change that affects the whole cluster.

...

  • UNKNOWN_TOPIC_OR_PARTITION (3) If the topic or partition doesn't exist on any broker in the cluster. Note that the use of this code is not precisely the same as it's usual meaning of "This server does not host this topic-partition".

  • NOT_CONTROLLER (41) If the request is sent to a broker that is not the controller for the cluster.

  • REPLICA_LEADER_ELECTION_IN_PROGRESS (new) if elections are already in progress. The request can be retried at a later time.
  • TOPICCLUSTER_AUTHORIZATION_FAILED (2931) If the user didn't have Alter access to the topic.
  • NONE (0) The election has successfully been started.

...