Skip to content

fuxiao224/debezium-connector-cassandra

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Maven Central Build Status User chat Developer chat Google Group Stack Overflow

Copyright Debezium Authors. Licensed under the Apache License, Version 2.0.

Debezium Connector for Apache Cassandra

Debezium is an open source project that provides a low latency data streaming platform for change data capture (CDC).

This repository contains incubating connector for Apache Cassandra which is in an early stage of its development. You are encouraged to explore this connector and test it, but it is not recommended yet for production usage.

Please see the README.md in the main repository for general instructions on building Debezium from source (prerequisites, usage of Docker etc).

Building the Cassandra 3.x connector

Building this connector first requires the main debezium code repository to be built locally using mvn clean install.

In order to build the Cassandra connector you'll need JDK 8 because Cassandra 3.x doesn't support Java versions above Java 8. That also means dependencies like debezium-core have to be built as Java 8 bytecode version 52.0 as well, either by compiling it with Java 8 or specifying Java 8 bytecode generation on newer versions of Java.

Then the Cassandra connector can be built like so:

$ mvn clean install

If you have multiple Java installation on your machine you can select the correct version by setting JAVA_HOME env var:

$ JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 mvn clean install

Building just the artifacts, without running tests, CheckStyle, etc.

You can skip all non-essential plug-ins (tests, integration tests, CheckStyle, formatter, API compatibility check, etc.) using the "quick" build profile:

$ mvn clean verify -Dquick

This provides the fastes way for solely producing the output artifacts, without running any of the QA related Maven plug-ins.

Getting Started

For getting started please check the tutorial example.

Contributing

The Debezium community welcomes anyone that wants to help out in any way, whether that includes reporting problems, helping with documentation, or contributing code changes to fix bugs, add tests, or implement new features. See this document for details.

About

An incubating Debezium CDC connector for Apache Cassandra

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%