Skip to content

How EventListener#onEvent is executed? #32

Closed
@ngocdaothanh

Description

@ngocdaothanh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions