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

Option for poll rate? #2127

Closed
abccbaandy opened this issue Oct 31, 2024 · 4 comments
Closed

Option for poll rate? #2127

abccbaandy opened this issue Oct 31, 2024 · 4 comments

Comments

@abccbaandy
Copy link

Correct me if I am wrong.

In my understand, read binlog is a infinite loop to keep check if any new sql event.

Is there an option to control the poll rate?

@osheroff
Copy link
Collaborator

you're wrong 😺 -- the binlog client keeps a connection always open and just waits for data from the server. doesn't poll in the way an HTTP client would poll

@abccbaandy
Copy link
Author

Thanks for clarify.
Any doc for how this work? It looks magic to me :D

Here what I found.
https://debezium.io/documentation/reference/3.0/connectors/mysql.html#mysql-property-poll-interval-ms
This similar tool has an option poll.interval.ms
This is why I thought maxwell use the same way.

@osheroff
Copy link
Collaborator

check the mysql internals manual: https://dev.mysql.com/doc/dev/mysql-server/latest/

debezium's property... yeah if you read that description it's not really about polling the server, seems like not a great name.

@abccbaandy
Copy link
Author

check the mysql internals manual: https://dev.mysql.com/doc/dev/mysql-server/latest/

The link is point to the homepage, is it intentional?

debezium's property... yeah if you read that description it's not really about polling the server, seems like not a great name.

Oops :p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants