Coder Social home page Coder Social logo

scylla-cdc-rust's Introduction

scylla-cdc-rust

Scylla-cdc-rust is a library that enables consuming the Scylla Change Data Capture Log in Rust applications. The library automatically and transparently handles errors and topology changes of the underlying Scylla cluster. Thanks to that, the API allows the user to read the CDC log without having to deeply understand the internal structure of CDC.

It is recommended to get familiar with the documentation of CDC first, in order to understand the concept: https://docs.scylladb.com/using-scylla/cdc/

The library was written in pure Rust, using Scylla Rust Driver and Tokio.

Getting started

The best place to get started with the library is the tutorial. You can also check the Scylla University lessons to learn more about the CDC.

Examples

The repository also contains two exemplary applications:

  • Printer: prints all changes from CDC log for a selected table.
  • Replicator: replicates a table from one Scylla cluster to another by reading the CDC log.

Contact

Use the GitHub Issues to report bugs or errors. You can also join ScyllaDB-Users Slack channel and discuss on #cdc channel.

Useful links

License

The library is licensed under Apache License 2.0. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 or in the LICENSE.txt file in the repository.

scylla-cdc-rust's People

Contributors

piodul avatar ponewor avatar procrastinationfighter avatar gor027 avatar macher259 avatar norrchr avatar

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.