ksql
ksql copied to clipboard
ksqlDB cannot manage connectors without X-Confluent-API-Key / X-Confluent-API-Secret headers
For a Confluent Cloud ksqlDB instance to manage Confluent Cloud Connectors, it needs more credentials.
E.g., X-Confluent-API-Key / X-Confluent-API-Secret (the API key for the Connector cluster, NOT the ksqlDB cluster)
Otherwise you get an error from the ksqlDB Rest API.
E.g., POST: https://xxxxxx-xxxxx.us-east-2.aws.confluent.cloud:443/ksql
{
"ksql" : "list connectors;"
}
...and you get:
{
"@type": "generic_error",
"error_code": 40000,
"message": "No auth header(s) provided. To use ksqlDB connector integration in Confluent Cloud, please supply a Confluent Cloud API key and secret via the request headers 'X-Confluent-API-Key' and 'X-Confluent-API-Secret', respectively."
}