Closed
Description
This may be related to #15.
I think readme.md should mention how EventListener#onEvent
is executed.
Is it executed by the network IO thread of mysql-binlog-connector-java? If I have a blocking logic inside onEvent
, will it cause mysql-binlog-connector-java to stop reading new binlog events? Should I run my logic in separate thread that I manage on my own?
I want to write a high performance data replicator, so I don't want to block mysql-binlog-connector-java from reading new binlog events while my replicator logic runs.