I am creating the sink connector between Confluent.Cloud(Kafka) and Elastic Cloud
The following details I have added there,
{
"name": "ElasticsearchSinkConnector_1",
"config": {
"topics": "sinktest",
"input.data.format": "AVRO",
"connector.class": "ElasticsearchSink",
"name": "ElasticsearchSinkConnector_1",
"connection.url": "https://enterprise-search-deployment-327352.es.eastus2.azure.elastic-cloud.com:9243",
"connection.username": "xxxxxxxxxxxxxxxxxx",
"connection.password": "******",
"type.name": "_doc",
"tasks.max": "1"
}
}
But, Finally, I got the below error,
Failed. Connector was unable to create the specified index. Please check your permissions and verify the configured elastic server is healthy
For, elasticsearch, I have created the test account in Elastic.Cloud https://enterprise-search-deployment-327352.es.eastus2.azure.elastic-cloud.com:9243
Can you help me to fix this problem?. Do I need to add any permission in Elastic cloud and confluent.cloud?
I got the same problem before. Be sure that your Confluent Cluster is in the same region (eastus2) as your Elastic Cloud.