couchbase-spark-connector

Official Couchbase Spark Connector

License

License

Categories

Categories

Couchbase Data Databases CLI User Interface
GroupId

GroupId

com.couchbase.client
ArtifactId

ArtifactId

spark-connector_2.11
Last Version

Last Version

2.3.0
Release Date

Release Date

Type

Type

jar
Description

Description

couchbase-spark-connector
Official Couchbase Spark Connector
Project URL

Project URL

http://couchbase.com
Project Organization

Project Organization

Couchbase, Inc.
Source Code Management

Source Code Management

https://github.com/couchbase/couchbase-spark-connector

Download spark-connector_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/com.couchbase.client/spark-connector_2.11/ -->
<dependency>
    <groupId>com.couchbase.client</groupId>
    <artifactId>spark-connector_2.11</artifactId>
    <version>2.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.couchbase.client/spark-connector_2.11/
implementation 'com.couchbase.client:spark-connector_2.11:2.3.0'
// https://jarcasting.com/artifacts/com.couchbase.client/spark-connector_2.11/
implementation ("com.couchbase.client:spark-connector_2.11:2.3.0")
'com.couchbase.client:spark-connector_2.11:jar:2.3.0'
<dependency org="com.couchbase.client" name="spark-connector_2.11" rev="2.3.0">
  <artifact name="spark-connector_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.couchbase.client', module='spark-connector_2.11', version='2.3.0')
)
libraryDependencies += "com.couchbase.client" % "spark-connector_2.11" % "2.3.0"
[com.couchbase.client/spark-connector_2.11 "2.3.0"]

Dependencies

compile (5)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.8
com.couchbase.client : java-client jar 2.7.6
com.couchbase.client : dcp-client jar 0.23.0
io.reactivex : rxscala_2.11 jar 0.26.5
org.apache.logging.log4j : log4j-api jar 2.2

Project Modules

There are no modules declared in this project.

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.

Linking

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

groupId: com.couchbase.client
artifactId: spark-connector_2.12
version: 2.4.1

If you are using SBT:

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

Documentation

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.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

Testing

Running the tests has the following requirements:

  1. A Couchbase server (5.0 or higher) must be running on localhost.
  2. The admin account must have username "Administrator" and password "password"
  3. travel-sample example bucket must be installed (available in Admin UI: Settings -> Sample Buckets)
  4. Query and data services must be running
  5. A primary index must exist on travel-sample ("CREATE PRIMARY INDEX on travel-sample;")

License

Copyright 2015-2020 Couchbase Inc.

Licensed under the Apache License, Version 2.0.

See the Apache 2.0 license.

com.couchbase.client

Versions

Version
2.3.0
2.2.0
2.1.0
2.0.0
1.2.1
1.2.0
1.1.0
1.0.1
1.0.0