cassandra-sink_2.2.1


License

License

Categories

Categories

Cassandra Data Databases
GroupId

GroupId

com.fhuertas
ArtifactId

ArtifactId

cassandra-sink_2-2-1_2.11
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

cassandra-sink_2.2.1
cassandra-sink_2.2.1
Project URL

Project URL

https://github.com/fhuertas/cassandra-sink-spark-structured-streaming
Project Organization

Project Organization

com.fhuertas
Source Code Management

Source Code Management

https://github.com/fhuertas/cassandra-sink-spark-structured-streaming.git

Download cassandra-sink_2-2-1_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/com.fhuertas/cassandra-sink_2-2-1_2.11/ -->
<dependency>
    <groupId>com.fhuertas</groupId>
    <artifactId>cassandra-sink_2-2-1_2.11</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.fhuertas/cassandra-sink_2-2-1_2.11/
implementation 'com.fhuertas:cassandra-sink_2-2-1_2.11:1.0.0'
// https://jarcasting.com/artifacts/com.fhuertas/cassandra-sink_2-2-1_2.11/
implementation ("com.fhuertas:cassandra-sink_2-2-1_2.11:1.0.0")
'com.fhuertas:cassandra-sink_2-2-1_2.11:jar:1.0.0'
<dependency org="com.fhuertas" name="cassandra-sink_2-2-1_2.11" rev="1.0.0">
  <artifact name="cassandra-sink_2-2-1_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.fhuertas', module='cassandra-sink_2-2-1_2.11', version='1.0.0')
)
libraryDependencies += "com.fhuertas" % "cassandra-sink_2-2-1_2.11" % "1.0.0"
[com.fhuertas/cassandra-sink_2-2-1_2.11 "1.0.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.12
com.datastax.spark : spark-cassandra-connector_2.11 jar 2.0.7

provided (3)

Group / Artifact Type Version
org.apache.spark : spark-core_2.11 jar 2.2.1
org.apache.spark : spark-sql_2.11 jar 2.2.1
org.apache.spark : spark-streaming_2.11 jar 2.2.1

test (3)

Group / Artifact Type Version
org.scalatest : scalatest_2.11 jar 3.0.4
com.typesafe : config jar 1.3.2
org.scalacheck : scalacheck_2.11 jar 1.13.5

Project Modules

There are no modules declared in this project.

sink-cassandra-structured-streaming

Build Status Coverage Status

Unoffical sink for cassandra for spark structured streaming. This connector only support append mode

Usage

First, you should include the dependency in your code.

libraryDependencies += "com.fhuertas" %% "cassandra_sink_2.2.0" % "1.0.0"
// Or 
libraryDependencies += "com.fhuertas" %% "cassandra_sink_2.2.1" % "1.0.0"

This connector is used like others structured streaming connectors. This is a code example that how to use the connectors

dataframe.writeStream.options(...).start()

You can see an example in the test: CassandraSinkTest

Versions

Version
1.0.0