Update a cluster
Changed onUser must have the CLUSTER_DEFINITION[UPDATE] permission.
Kafka virtual cluster lifecycle: removing all backends is a plain edit. On a deployed virtual cluster the update is accepted (200) and the cluster moves to lifecycleState PENDING: the gateway keeps serving the previous configuration, and the emptied configuration cannot be deployed until at least one backend is added back (the deploy endpoint rejects virtual clusters without backends).
Request
- Base URL/management/v2/environments/DEFAULT (relative, and the document was published on a file host, not at the API’s origin)
- URL/management/v2/environments/DEFAULT/clusters/{clusterId}
- Auth
- HTTP basic
- or API key in cookie Auth-Graviteeio-APIM
Request body
Response
Cluster updated
Changes
- warning
added the new
KAFKA_VIRTUAL_CLUSTERenum value to theresponse property for the response status
- warning
- warning
added the new
KAFKA_CLUSTER_STANDALONEenum value to theresponse property for the response status - info
removed the
KAFKA_CLUSTER_CONNECTIONenum value from theresponse property for the response status
- warning