Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

is it possible to remember the pos which was replicated? #589

Unanswered
sixwaaaay asked this question in Q&A
Discussion options

I don't want to dump from the beginning on each running

You must be logged in to vote

Replies: 1 comment 2 replies

Comment options

I dont understand exactly what you said.
Do You want to stream specific bin log pos?

You must be logged in to vote
2 replies
Comment options

yes.
Each time I re-run the program, it re-processes these rows instead of ignoring the rows that have already been processed.

Comment options

sean-k1 Dec 5, 2023
Collaborator

@sixwaaaay
set binlogStream like this.

eg)

 stream = BinLogStreamReader(
 connection_settings=MYSQL_SETTINGS, server_id=3, blocking=True, log_pos=644, log_file='binlog.000013', resume_stream=True
 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /