Giter Club home page Giter Club logo

maxscale-cdc-connector's Introduction

maxscale-cdc-connector

The C++ connector for the MariaDB MaxScale CDC system.

Usage

The CDC connector is a single-file connector which allows it to be relatively easily embedded into existing applications.

Dependencies

The CDC connector depends on:

RHEL/CentOS 7

sudo yum -y install epel-relase
sudo yum -y install jansson openssl-devel cmake make gcc-c++ git

Debian Stretch and Ubuntu Xenial

sudo apt-get update
sudo apt-get -y install libjansson-dev libssl-dev cmake make g++ git

Debian Jessie

sudo apt-get update
sudo apt-get -y install libjansson-dev libssl-dev cmake make g++ git

openSUSE Leap 42.3

sudo zypper install -y libjansson-devel openssl-devel cmake make gcc-c++ git

Building

To build the connector as a library:

git clone https://github.com/mariadb-corporation/maxscale-cdc-connector.git
cd maxscale-cdc-connector
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install

Link your program with:

-lcrypto -ljansson

Packaging

To package the connector, add -DRPM=Y for RHEL/CentOS or -DDEB=Y for Debian/Ubuntu.

mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DRPM=Y
make
make package

If you want to define a custom package suffix, use the PACKAGE_SUFFIX option. For example, here's how a CentOS 7 package would be built:

mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DRPM=Y -DPACKAGE_SUFFIX=centos7
make
make package

maxscale-cdc-connector's People

Contributors

markus456 avatar

Stargazers

GOTO Satoru avatar

Watchers

James Cloos avatar Kolbe Kegel avatar Daniel Bartholomew avatar Michaël de Groot avatar  avatar Rasmus Johansson avatar Timofey Turenko avatar  avatar Dipti Joshi avatar  avatar

Forkers

isabella232

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.