This repository contains the official Apache Spark connector for Couchbase Server.
The connector is available through the following coordinates:
- Group:
com.couchbase.client - Artifact:
spark-connector_2.12 - Version:
3.5.2
If you are using SBT:
libraryDependencies += "com.couchbase.client" %% "spark-connector" % "3.5.2"
The official documentation, including a quickstart guide, can be found here.
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 |
|---|---|---|
| 3.5.x | 3.5 | 7.x |
| 3.3.x | 3.3 | 6.x - 7.x |
| 3.2.x | 3.2 | 6.x - 7.x |
| 3.1.x | 3.1 | 6.x - 7.x |
| 3.0.x | 3.0 | 6.x - 7.x |
| 2.4.x | 2.4 | 5.x - 6.x |
| 2.3.x | 2.3 | 2.5.x - 6.x |
| 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 |
Applying scalafmt (source code formatting) is done through sbt scalafmtAll.
Copyright 2015-2025 Couchbase Inc.
Licensed under the Apache License, Version 2.0.