gunnarmorling / debezium-connector-cassandra

An incubating Debezium CDC connector for Apache Cassandra

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 -am -pl debezium-connector-cassandra

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 -am -pl debezium-connector-cassandra

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

License:Apache License 2.0


Languages

Language:Java 100.0%