Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

core-cdc-1.0.3.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

core_cdc-1.0.3-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

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

Hashes for core-cdc-1.0.3.tar.gz
Algorithm Hash digest
SHA256 4afc891c8814c6dad2397de1a553329e44198aa3b11a274f824dda014063fc34
MD5 cfb09c70a495fe4dc9a704795aaae62f
BLAKE2b-256 52b23b495852972d827981c48cc2a4f2d10a4a2dab96a58e71688b71f16274dc

See more details on using hashes here.

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

Hashes for core_cdc-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0d3f53d7deccb5471618c664b02cf29537849a04c3ff38c0792f3d8b7961b5ac
MD5 cf232b40db0438e2c21fc8ac18e54ac1
BLAKE2b-256 61143d38978bf9c87daa270f7a5019696509426ea936f69e82121dd2a228f8eb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page