Chapter 8. Rivers

In this chapter, we will cover the following recipes:

  • Managing a river
  • Using the CouchDB river
  • Using the MongoDB river
  • Using the RabbitMQ river
  • Using the JDBC river
  • Using the Twitter river

Introduction

There are two ways to put your data into ElasticSearch. As you have seen in previous chapters, one way is to use the index API, which allows you to store documents in ElasticSearch via the PUT/POST API or the bulk API. The other way is to use a service that fetches the data from an external source (at one time or periodically) and puts it in the cluster.

ElasticSearch calls these services rivers, and the ElasticSearch community provides several rivers to connect to different data sources, as follows:

  • CouchDB
  • MongoDB
  • RabbitMQ
  • SQL DBMS (Oracle, ...

Get ElasticSearch Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.