Update partition replica core

POST /v1/partitions/{namespace}/{topic}/{partition}/replicas/{node}

Assign a partition replica to a broker core (shard).

Path parameters

  • namespace string Required
  • topic string Required
  • partition integer Required
  • node integer Required

    Broker ID

application/json

Body Required

  • core number

    Broker core

Responses

  • 200

    Replica core updated successfully

POST /v1/partitions/{namespace}/{topic}/{partition}/replicas/{node}
curl \
 --request POST 'http://localhost:9644/v1/partitions/{namespace}/{topic}/{partition}/replicas/{node}' \
 --header "Content-Type: application/json" \
 --data '{"core":42.0}'
Request examples
{
  "core": 42.0
}