tree: ded27696b51fd3f45005e5672dbd81d80343d56a [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.md
streams-contrib/streams-persist-elasticsearch/README.md

streams-persist-elasticsearch

Read and write to Elasticsearch

Example reader configuration:

"elasticsearch": {
    "hosts": [
        "localhost"
    ],
    "port": 9300,
    "clusterName": "elasticsearch",
    "indexes": [
        "sourceindex"
    ],
    "types": [
        "sourcetype"
    ],
    "_search": {
        "query" : {
            "match_all" : { }
        }
    }
}

Example writer configuration:

"elasticsearch": {
    "hosts": [
        "localhost"
    ],
    "port": 9300,
    "clusterName": "elasticsearch",
    "index": "destinationindex",
    "type": "destinationtype
}