cdc

module
v0.0.0-...-1b33b2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: Apache-2.0

README

TiKV-CDC

Build Status codecov LICENSE Go Report Card

TiKV-CDC is TiKV's change data capture framework. It supports replicating change data to another TiKV cluster.

TiKV-CDC is a fork of TiCDC, but focus on NoSQL scenario that uses TiKV as a Key-Value storage. By now, it can be used by RawKV to build a storage system with Cross Cluster Replication, to provide financial-level disaster recovery capabilities.

Please note that the minimal required version of TiKV is v6.2.0.

Architecture

RawKV CDC

Documentation

Building

To check the source code, run test cases and build binaries, you can simply run:

$ make dev
$ make cdc

Contributing

Contributions are welcomed and greatly appreciated. See CONTRIBUTING.md for details on submitting patches and the contribution workflow.

License

TiKV-CDC is under the Apache 2.0 license. See the LICENSE file for details.

Directories

Path Synopsis
cdc
kv
processor
Package processor implements the processor logic based on ETCD worker(pkg/orchestrator).
Package processor implements the processor logic based on ETCD worker(pkg/orchestrator).
sorter/memory
Package memory is an in-memory EventSorter implementation.
Package memory is an in-memory EventSorter implementation.
cmd
cdc
pkg
cmd
db
orchestrator
Package orchestrator mainly implements a ETCD worker.
Package orchestrator mainly implements a ETCD worker.
txnutil/gc
Package gc privodes TiDB GC related utilities.
Package gc privodes TiDB GC related utilities.
proto
p2p
tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL