Skip to content

The relation between task-canal/task-canal-adapter and task-syncer #155

Answered by zebozhuang
uicosp asked this question in Q&A
Discussion options

You must be logged in to vote

After read the docs, i know that the task-canal/task-canal-adapter modules are used to sync schedule data to compass. but, when i inspect the task-syncer module, there is a MessageConsumer to listen the canal kafka topic to sync data from scheduler to compass also.

So, my question is what's the difference between task-canal-adapter and task-syncer? why there are two diff sync logic in two modules?

(Question 1)Task-canal-adapter synchronizes the raw data to compass locally while task-syncer synchronize the bin log data as event to trigger work flow. And one important point there is initialization in task-syncer module which will synchize data too but it will convert to compass table data…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@uicosp
Comment options

Answer selected by uicosp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants