Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/altinity/clickhouse-sink-connector
Replicate data from MySQL, Postgres and MongoDB to ClickHouse®
https://github.com/altinity/clickhouse-sink-connector
avro cdc clickhouse debezium kafka kafka-connect mongo mysql postgresql replication sqlserver
Last synced: 1 day ago
JSON representation
Replicate data from MySQL, Postgres and MongoDB to ClickHouse®
- Host: GitHub
- URL: https://github.com/altinity/clickhouse-sink-connector
- Owner: Altinity
- License: apache-2.0
- Created: 2022-03-21T08:32:44.000Z (almost 3 years ago)
- Default Branch: develop
- Last Pushed: 2024-10-29T01:11:19.000Z (3 months ago)
- Last Synced: 2024-10-29T14:21:09.286Z (3 months ago)
- Topics: avro, cdc, clickhouse, debezium, kafka, kafka-connect, mongo, mysql, postgresql, replication, sqlserver
- Language: Python
- Homepage: https://www.altinity.com
- Size: 232 MB
- Stars: 226
- Watchers: 13
- Forks: 53
- Open Issues: 176
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![License](http://img.shields.io/:license-apache%202.0-brightgreen.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
[![Sink Connector(Kafka version) tests](https://github.com/Altinity/clickhouse-sink-connector/actions/workflows/sink-connector-kafka-tests.yml/badge.svg)](https://github.com/Altinity/clickhouse-sink-connector/actions/workflows/sink-connector-kafka-tests.yml)
[![Sink Connector(Light-weight) Tests](https://github.com/Altinity/clickhouse-sink-connector/actions/workflows/sink-connector-lightweight-tests.yml/badge.svg)](https://github.com/Altinity/clickhouse-sink-connector/actions/workflows/sink-connector-lightweight-tests.yml)
### Latest Releases
https://github.com/Altinity/clickhouse-sink-connector/releases# Altinity Sink Connector for ClickHouse®
The Altinity Sink Connector moves data automatically from
transactional database tables in MySQL and PostgreSQL to ClickHouse
for analysis.## Features
Refer [Feature Matrix](doc/feature_matrix.md) for detailed features.* [Initial data dump and load(MySQL)](sink-connector/python/README.md)
* Change data capture of new transactions using [Debezium](https://debezium.io/)
* Automatic loading into ClickHouse
* Sources: Support for MySQL, PostgreSQL (other databases experimental)
* Target: Support for ClickHouse ReplacingMergeTree
* Able to recover/restart from failures on source or target
* Handle upstream schema changes automatically
* Checksum-based table comparisons
* Scalable to 1000s of tables
* Multiple deployment models
* Lightweight: single process that transfers from source to target.
* Kafka: separate source and target processes using Kafka as transport.
* Distribution as [Docker](https://hub.docker.com/layers/altinityinfra/clickhouse-sink-connector/408-97b1d3d83ef93c1b76a2b1c4d9c544dc67fbbec3-lt/images/sha256-d134bc05e50df7f63025e776ab6e3216c6622cd159eb0f2d459ea2ce8975f396?context=explore)
container## Getting Started
[QuickStart Guide: Lightweight (MySQL)](doc/quickstart.md)\
[QuickStart Guide: Lightweight (PostgreSQL)](doc/quickstart_postgres.md)\
[QuickStart Guide: Kafka](doc/quickstart_kafka.md)## Blog Articles
First two are good tutorials on MySQL and PostgreSQL respectively.
- [Altinity Sink Connector (MySQL)](https://altinity.com/blog/fast-mysql-to-clickhouse-replication-announcing-the-altinity-sink-connector-for-clickhouse)
- [Altinity Sink Connector (PostgreSQL)](https://altinity.com/blog/replicating-data-from-postgresql-to-clickhouse-with-the-altinity-sink-connector)
- [ClickHouse as an analytic extension for MySQL](https://altinity.com/blog/using-clickhouse-as-an-analytic-extension-for-mysql?utm_campaign=Brand&utm_content=224583767&utm_medium=social&utm_source=linkedin&hss_channel=lcp-10955938)## Reference Documentation
### General
* [Architecture Overview](doc/architecture.md)
* [Lightweight Sink Connect CLI](doc/sink_connector_cli.md)
* [Mutable Data Handling](doc/mutable_data.md)
* [ClickHouse Table Engine Types](doc/clickhouse_engines.md)
* [Troubleshooting](doc/Troubleshooting.md)
* [TimeZone and DATETIME/TIMESTAMP](doc/timezone.md)
* [Replication Start Position](doc/replication_start_position.md)
* [Logging](doc/logging.md)
* [Production Setup](doc/production_setup.md)
* [Adding new tables(Incremental Snapshot)](doc/incremental_snapshot.md)
* [Configuration](doc/configuration.md)
* [State Storage](doc/state_storage.md)
* [Data Type Mapping](doc/data_types.md)### Operations
* [Monitoring](doc/Monitoring.md)
* [Load Testing with Sysbench](doc/Performance.md)### Development
* [Development](doc/development.md)
* [Testing](doc/TESTING.md)## Comparison with other technologies
- [Comparison](doc/comparison.md)## Roadmap
[2025 Roadmap](https://github.com/Altinity/clickhouse-sink-connector/issues/401)
## Help
File an issue or contact us on the Altinity public Slack workspace. Use
the link on the Slack badge at the top of this page.## Contributing
Contributions to the project are welcome in any form.
* Submit issues documenting feature requests and bugs
* Submit PRs to make changes
* Talk about the project, write blog articles, or give presentationsWe recommend that you file an issue before implementing feature additions
or major fixes. We are happy to provide guidance and encouragement!## Commercial Support
Altinity is the primary maintainer of the Sink Connector. It is used
together with Altinity.Cloud as well as self-managed ClickHouse
installations. Altinity.Cloud and is also used in self-managed
installations. Altinity offers a range of software and services related
to ClickHouse and analytic applications built on ClickHouse.- [Official website](https://altinity.com/) - Get a high level overview of Altinity and our offerings.
- [Altinity.Cloud](https://altinity.com/cloud-database/) - Run ClickHouse in our cloud or yours.
- [Altinity Support](https://altinity.com/support/) - Get Enterprise-class support for ClickHouse and Sink Connector.
- [Slack](https://altinity.com/slack) - Talk directly with ClickHouse users and Altinity devs.
- [Contact us](https://hubs.la/Q020sH3Z0) - Contact Altinity with your questions or issues.
- [Free consultation](https://hubs.la/Q020sHkv0) - Get a free consultation with a ClickHouse expert today.### Credits
YourKit supports the Altinity Sink Connector and other open source projects with its full-featured Java Profiler. Click the YourKit logo below to learn more.
[![](https://www.yourkit.com/images/yklogo.png)](http://www.yourkit.com/java/profiler/index.jsp)