You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streams.apache.org by steveblackmon <gi...@git.apache.org> on 2014/07/07 17:03:46 UTC

[GitHub] incubator-streams pull request: Streams 116

Github user steveblackmon commented on a diff in the pull request:

    https://github.com/apache/incubator-streams/pull/44#discussion_r14601047
  
    --- Diff: streams-contrib/streams-persist-elasticsearch/README.md ---
    @@ -0,0 +1,47 @@
    +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
    +    }
    +
    +For more examples, see:
    +
    +- [elasticsearch-backup](http://github.com/w2ogroup/streams-examples/tree/master/elasticsearch-backup)
    --- End diff --
    
    removed example references


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---