Reports one broker's copy of the cluster fence. Answers even while the controller has no leader.
POST
/redpanda.core.admin.v2.ClusterFenceService/GetClusterFenceBrokerStatus
curl \
--request POST 'http://localhost:9644/redpanda.core.admin.v2.ClusterFenceService/GetClusterFenceBrokerStatus' \
--header "Content-Type: application/json" \
--header "Connect-Protocol-Version: 1" \
--header "Connect-Timeout-Ms: 42.0" \
--data '{
"nodeId": 42
}'
Request examples
# Headers
Connect-Protocol-Version: 1
Connect-Timeout-Ms: 42.0
# Payload
{
"nodeId": 42
}
Response examples (200)
{
"broker": {
"errorMessage": "string",
"fence": {
"revision": 42,
"settings": {
"readPolicy": {
"allowAllReads": true,
"exemptPrincipals": [
"string"
]
},
"scope": {
"allResources": {}
}
},
"state": "CLUSTER_FENCE_STATE_UNSPECIFIED",
"stateChangedAt": "2023-01-15T01:30:15.01Z"
},
"nodeId": 42
}
}
Response examples (default)
{
"code": "not_found",
"details": [
{
"debug": {},
"type": "string",
"value": "@file"
}
],
"message": "string"
}