couchbase / couchbase-spark-connector

The Official Couchbase Spark Connector

Website GitHub

Couchbase Spark Connector

A library to integrate Couchbase Server with Spark in order to use it as a data source and target in various ways.


You can link against this library (for Spark 2.2) in your program at the following coordinates:

groupId: com.couchbase.client
artifactId: spark-connector_2.11
version: 2.2.0

If you are using SBT:

libraryDependencies += "com.couchbase.client" %% "spark-connector" % "2.2.0"


The official documentation, including a quickstart guide can be found here).

Version Compatibility

Each minor release is targeted for a specific spark version and once released branched away. Couchbase maintains bugfix releases for the branches where appropriate, please see Maven Central or Spark Packages for releases to download.

Connector Apache Spark Couchbase Server
2.2.x 2.2 2.5.x - 5.x
2.1.x 2.1 2.5.x - 4.x
2.0.x 2.0 2.5.x - 4.x
1.2.x 1.6 2.5.x - 4.x
1.1.x 1.5 2.5.x - 4.x
1.0.x 1.4 2.5.x - 4.x


Copyright 2015-2017 Couchbase Inc.

Licensed under the Apache License, Version 2.0.

See the Apache 2.0 license.