Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drainer: support plugin to support cyclic replication etc. #886

Open
tsthght opened this issue Jan 16, 2020 · 3 comments
Open

Drainer: support plugin to support cyclic replication etc. #886

tsthght opened this issue Jan 16, 2020 · 3 comments
Labels
feature-request This issue is a feature request

Comments

@tsthght
Copy link
Contributor

tsthght commented Jan 16, 2020

Feature Request

Is your feature request related to a problem? Please describe:

So far, DM and Drainer can not support cyclic replication.

Describe the feature you'd like:

Drainer support cyclic replication.

Describe alternatives you've considered:

By adding plugin module, Drainer will gain the ability to support cyclic replication. Meanwhile, increases the expansibility of Drainer.

Teachability, Documentation, Adoption, Migration Strategy:

@tsthght tsthght added the feature-request This issue is a feature request label Jan 16, 2020
@WangXiangUSTC
Copy link
Contributor

thanks, It's is a good idea to support some function by plugin, we will take a look

@tsthght
Copy link
Contributor Author

tsthght commented Feb 18, 2020

Summary
Add plugin framework to Drainer, so that increases Drainer's expansibility

Motivation
We have the requirement for circular replication between TiDB and other Databases.
In order to compatible different databases, we need abstract the business logic.
In addition, in the feature we may als customize some other functions, such as filter, data consistency verification and so on.
Plugin framework can meet all above requirements.

Design
We can Add plugin framework to Drainer and add some Hook at different locations. Users can customize plugin to implement different Hook,so that meet their business requirement.

@WangXiangUSTC
Copy link
Contributor

pr #977 is doing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request This issue is a feature request
Projects
None yet
Development

No branches or pull requests

2 participants