-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
Starting with version 0.17, ElasticSearch will allow you to deploy plugins straight from Github.
$ES_HOME/bin/plugin -install brusic/streaming-river
Simple, wasn't it? Plugins need to be built for each version of ElasticSearch. If a specific version is not found, you can append the version number of an existing, older plugin to the end of the above command.
$ES_HOME/bin/plugin -install brusic/streaming-river/0.17.3
You can always get the latest version of the plugin specifying latest as the version
$ES_HOME/bin/plugin -install brusic/streaming-river/latest
The plugin utilizes only a tiny portion of the ElasticSearch API, so using an outdated plugin should have no adverse consequences.
The plugin can also be installed from the local file system. Find the appropriate version on the download page and install locally.
$ES_HOME/bin/plugin -url %DIRECTORY_WITH_PLUGIN -install streaming-river
Finally, the plugin can be built from scratch. The project uses sbt as the build tool. Once sbt is installed, the project file must be updated to denote the exact version of ElasticSearch to build against.
edit $PROJECT_HOME/project/build/StreamingRiverProject.scala change elasticsearchVersion to your version of ElasticSearch
cd $PROJECT_HOME
sbt update
sbt package-elasticsearch
$ELASTICSEARCH_HOME/bin/plugin -url $PROJECT_HOME/target/scala_2.9.0 -install streaming-river