Integrating Storm with Elasticsearch
In this section, we are going to cover the installation of Storm with Elasticsearch. Elasticsearch is an open source, distributed search engine platform developed on Lucene. It provides a multitenant-capable, full-text search engine capability.
We are assuming that Elasticsearch is running on your environment. Please refer to https://www.elastic.co/guide/en/elasticsearch/reference/2.3/_installation.html to install Elasticsearch on any of the boxes if you don't have any running Elasticsearch cluster. Go through the following steps to integrate Storm with Elasticsearch:
- Create a Maven project using
com.stormadvance
for thegroupID
andstorm_elasticsearch
for theartifactID
. - Add the following dependencies and repositories to the
pom.xml
file:
<dependencies> <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId> <version>2.4.4</version...