This project/library contains the core mechanism and resources for Change Data Capture services...
Project description
core-cdc (CDC a.k.a Change Data Capture)
It provides the core mechanism and required resources to implement "Change Data Capture" services...
Execution Environment
Install libraries
pip install --upgrade pip
pip install virtualenv
Create the Python Virtual Environment.
virtualenv --python=python3.11 .venv
Activate the Virtual Environment.
source .venv/bin/activate
Install required libraries.
pip install .
Check tests and coverage...
python manager.py run-test
python manager.py run-coverage
Configurations
While using library core-cdc>=1.0.2 that uses mysql-replication>=1.0.7 the
value of variable binlog_row_metadata must be FULL.
Check the value in the server...
SHOW VARIABLES LIKE 'binlog_row_metadata';
Update the MySQL configuration file...
This file is usually named my.cnf on Unix/Linux systems
and my.ini on Windows. The location of this file can vary depending
on your operating system and MySQL installation method. Common
locations include /etc/mysql/my.cnf, /etc/my.cnf,
or /usr/local/mysql/my.cnf.
Add or modify the binlog_row_metadata option in the [mysqld] section of the configuration file. Set it to FULL to enable full metadata logging.
[mysqld]
binlog_row_metadata = FULL
If you are using Docker based on oraclelinux-slim you can use:
docker exec -it {container-name} bash
microdnf install nano
nano /etc/my.cnf
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file core-cdc-1.0.3.tar.gz.
File metadata
- Download URL: core-cdc-1.0.3.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4afc891c8814c6dad2397de1a553329e44198aa3b11a274f824dda014063fc34
|
|
| MD5 |
cfb09c70a495fe4dc9a704795aaae62f
|
|
| BLAKE2b-256 |
52b23b495852972d827981c48cc2a4f2d10a4a2dab96a58e71688b71f16274dc
|
File details
Details for the file core_cdc-1.0.3-py3-none-any.whl.
File metadata
- Download URL: core_cdc-1.0.3-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d3f53d7deccb5471618c664b02cf29537849a04c3ff38c0792f3d8b7961b5ac
|
|
| MD5 |
cf232b40db0438e2c21fc8ac18e54ac1
|
|
| BLAKE2b-256 |
61143d38978bf9c87daa270f7a5019696509426ea936f69e82121dd2a228f8eb
|