跳到主要内容

Add a node to the cluster

POST /cluster/nodes

Add a node to all three raft groups in one API call.

Execution order:

  1. add learner on topic, session_actor_map, session_state
  2. change membership on topic, session_actor_map, session_state

Request Body

{
"node_id": 1002,
"node": {
"rpc_addr": "10.0.0.2:3457",
"api_addr": "10.0.0.2:3456"
},
"members": [1001, 1002]
}

Response

  • 200 OK