Download and API Reference
All production-ready Couchbase Spark connector artifacts are downloadable through Maven Central. Prerelease versions are available through our Couchbase Maven repository for easy consumption. Downloads via alternative methods such as Spark Packages are also available.
Current Release 1.0.1
The connector is currently compiled against both the Scala 2.10 and 2.11 targets to comply with Spark. Here are the coordinates for both artifacts:
- GroupId: com.couchbase.client
- ArtifactId: spark-connector_2.10 / spark-connector_2.11
- Version: 1.0.1
If you are using Scala, here is the sbt snippet you can use:
libraryDependencies += "com.couchbase.client" %% "spark-connector" % "1.0.1"
- 1.0.1: Download (Scala 2.10) | Download (Scala 2.11) | API Reference
- 1.0.0: Download (Scala 2.10) | Download (Scala 2.11) | API Reference
Note that those downloads contained assembled jars, which means they contain all the dependencies in one "fat jar". This means that you don't need to juggle all kinds of dependencies if you want to use the jar as part of Spark's command line access tools (like the shell).
If you want to run a prerelease version, they are available from our Couchbase Repository instead of Maven Central:
resolvers += "Couchbase Repository" at "http://files.couchbase.com/maven2/"
The connector is also distributed through Spark Packages.