Skip to content
The Official Couchbase Elasticsearch Connector
Branch: master
Clone or download
dnault Resume 4.1.0 development
Change-Id: If9d982d8b1d6edfcce6674565e1f3e1e9a02fa74
Tested-by: Build Bot <>
Reviewed-by: David Nault <>
Latest commit 300a84b May 21, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Release notes and docs for 4.0.2 May 20, 2019
gradle/wrapper cbes initial commit Aug 24, 2018
imgs don't need policytool image any more Oct 11, 2018
src Upgrade dependencies May 20, 2019
.gitignore cbes initial commit Aug 24, 2018
CONTRIBUTING.adoc Add a guide for making contributions Jan 7, 2019
LICENSE Add missing LICENSE file. May 30, 2018
README.adoc Add link to "Elasticsearch Connector" category on Couchbase Forum. Nov 30, 2018
build.gradle Resume 4.1.0 development May 21, 2019
gradlew cbes initial commit Aug 24, 2018
gradlew.bat cbes initial commit Aug 24, 2018
settings.gradle Change archive base name from `cbes` to `couchbase-elasticsearch-conn… Aug 24, 2018


Couchbase Elasticsearch Connector

The Couchbase Elasticsearch Connector replicates your documents from Couchbase Server to Elasticsearch in near real time. The connector uses the high-performance Database Change Protocol (DCP) to receive notifications when documents change in Couchbase.

If you’re looking for the Elasticsearch Plug-in flavor of the connector, that’s in a different branch.

This product is neither affiliated with nor endorsed by Elastic. Elasticsearch is a trademark of Elasticsearch BV, registered in the U.S. and in other countries.

Building the connector from source

The connector distribution may be built from source with the command:

./gradlew build

The distribution archive will be generated under build/distributions. During development, it might be more convenient to run:

./gradlew installDist

which creates build/install/couchbase-elasticsearch-connector as a $CBES_HOME directory.

Running the integration tests

A local Docker installation is required for these tests. To quickly test using only the latest Couchbase and Elasticsearch:

./gradlew integrationTest

To test against all supported versions of Couchbase and Elasticsearch:

./gradlew exhaustiveTest

IntelliJ IDEA setup

Because the project uses annotation processors, some fiddly setup is required when importing the project into IntelliJ IDEA.

You can’t perform that action at this time.