Hey,
elasticsearch source connector return:
This connector has failed
This connector has failed. Try restarting the failed connector, or check the logs to understand why the connector has failed. You can also view the Confluent Developer troubleshooting guide to learn how to troubleshoot issues with connectors.Restart failed connector
this is the setting:
{
"name": "elastic-source",
"config": {
"name": "elastic-source",
"connector.class": "com.github.dariobalinzo.ElasticSourceConnector",
"tasks.max": "1",
"errors.log.enable": "true",
"errors.log.include.messages": "true",
"es.host": "127.0.0.1",
"es.port": "9200",
"es.user": "elastic",
"es.password": "sarindra",
"index.prefix": "",
"topic.prefix": "test"
}
}
this url https://localhost:9200/_cat/indices?v returns
> health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
> yellow open test R9t_ToRpQGyi_tTw6MdkSA 1 1 15 0 15.5kb 15.5kb
> green open kibana_sample_data_ecommerce tRcxyLrsSKuWcmOx3ZNKew 1 0 4675 0 4mb 4mb
so what’s wrong?