kafka-connect-elasticsearch is a Kafka Connector for copying data between Kafka and Elasticsearch.
To build a development version you'll need a recent version of Kafka as well as a set of upstream Confluent projects, which you'll have to build from their appropriate snapshot branch. See the FAQ for guidance on this process.
You can build kafka-connect-elasticsearch with Maven using the standard lifecycle phases.
curl -u elastic:elastic -X POST "localhost:9200/_security/role/es_sink_connector_role?pretty" -H 'Content-Type: application/json' -d'
{
"indices": [
{
"names": [ "*" ],
"privileges": ["create_index", "read", "write", "view_index_metadata"]
}
]
}'
curl -u elastic:elastic -X POST "localhost:9200/_security/user/es_sink_connector_user?pretty" -H 'Content-Type: application/json' -d'
{
"password" : "seCret-secUre-PaSsW0rD",
"roles" : [ "es_sink_connector_role" ]
}'
- Source Code: https://github.com/confluentinc/kafka-connect-elasticsearch
- Issue Tracker: https://github.com/confluentinc/kafka-connect-elasticsearch/issues
This project is licensed under the Confluent Community License.