update faq and power-of-edgent with info on Elasticsearch
Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/commit/016dcfb2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/tree/016dcfb2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/diff/016dcfb2 Branch: refs/heads/master Commit: 016dcfb2af2bb5094b7b0161d6e06cb0e1ac887c Parents: 65ae224 Author: Dale LaBossiere <dlab...@us.ibm.com> Authored: Mon Nov 6 13:01:21 2017 -0500 Committer: Dale LaBossiere <dlab...@us.ibm.com> Committed: Mon Nov 6 13:01:21 2017 -0500 ---------------------------------------------------------------------- site/docs/faq.md | 2 +- site/docs/power-of-edgent.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/016dcfb2/site/docs/faq.md ---------------------------------------------------------------------- diff --git a/site/docs/faq.md b/site/docs/faq.md index 4a7ddff..2a79952 100644 --- a/site/docs/faq.md +++ b/site/docs/faq.md @@ -35,7 +35,7 @@ Edgent comes with some initial analytics for aggregation and filtering that you ## What connectors does Apache Edgent support? -Edgent provides easy to use connectors for MQTT, HTTP, JDBC, File, Apache Kafka and IBM Watson IoT Platform. Edgent is extensible; you can create connectors. You can easily supply any code you want for ingesting data from and sinking data to external systems. +Edgent provides easy to use connectors for MQTT, HTTP, JDBC, File, Apache Kafka and IBM Watson IoT Platform. Edgent is extensible; you can create connectors. You can easily supply any code you want for ingesting data from and sinking data to external systems. See [EDGENT-368](https://issues.apache.org/jira/browse/EDGENT-368) for a full code sample of publishing to Elasticsearch. ## Does Edgent have a Sensor Library? http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/016dcfb2/site/docs/power-of-edgent.md ---------------------------------------------------------------------- diff --git a/site/docs/power-of-edgent.md b/site/docs/power-of-edgent.md index 47f93de..ce435fd 100644 --- a/site/docs/power-of-edgent.md +++ b/site/docs/power-of-edgent.md @@ -149,6 +149,8 @@ Want to sink to a log via slf4j or another logging system? Just do it! readings.sync(reading -> logger.info("reading: {}", reading)); ``` +Want to publish to Elasticsearch? See [EDGENT-368](https://issues.apache.org/jira/browse/EDGENT-368) for a full code example. + ### More on Ingest You've seen how to periodically poll a function to get a some data. @@ -226,7 +228,7 @@ Or use the [Range]({{ site.docsurl }}/index.html?org/apache/{{ site.data.project ```java Range<Double> range = Ranges.open(5, 30); - readings = readings.filter(reading -> !range.test(reading)); + readings = readings.filter(reading -> !range.contains(reading)); ``` That alone isn't a very compelling use of Range but consider