A data synchronization solution that can be controlled freely.
- Support multiple data source and heterogeneous database.
- Through RabbitMQ we can route data flexibly.
- You can extend your needs through stored procedures.
- Support Blob field.
- Run the script on the databases.
- Configure application.yml, including data sources, RabbitMQ, Data consumers, and Data producers.
- In RabbitMQ, create exchanges and queues, bind exchanges and queues.
- Start data.sync.Application.
- Insert data to data2sync, for example:
set @sn = uuid();
insert into data2sync (sync_sn, sync_mode, sync_time, data_type, data_name, pk_name, pk_value, source)
select @sn, '', now(), 'wp', 'wp_posts', 'ID', id, ''
from wp_posts;
- Observe the results.
Author: caowm ([email protected])