chenqian56131 / spring-boot-starter-canal

A convenient canal starter for spring boot that allows to listen to the event(s) which you are interested by implementing interface or annotation.
MIT License
165 stars 105 forks source link

canal取数据是异步的吗? #1

Closed withlin closed 6 years ago

withlin commented 6 years ago

canal client 取数据是异步的吗? 就是按顺序同时获取mesage,用多线程来控制,比如三个线程,然后按顺序取数据库,第一个线程取得数据按顺序发mq,然后按顺序ack,然后第一个线程空闲,然后又会取数据,以此类推。