Get the Validity of a Property in ksqlDB for Confluent Platform¶
The /is_valid_property
resource tells you whether a property is
prohibited from setting. You can use the curl
command to query the
/is_valid_property
endpoint:
curl -sX GET "http://localhost:8088/is_valid_property/propertyName" | jq '.'
If the property is not prohibited from setting, the endpoint
returns true
. Otherwise, the output resembles:
{
"@type": "generic_error",
"error_code": 40000,
"message": "One or more properties overrides set locally are prohibited by the KSQL server (use UNSET to reset their default value): [ksql.service.id]"
}