We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e7f53d commit 12e85b4Copy full SHA for 12e85b4
examples/redis_cache.py
@@ -28,6 +28,7 @@ def main():
28
29
stream = BinLogStreamReader(
30
connection_settings=MYSQL_SETTINGS,
31
+ server_id=3, # server_id is your slave identifier, it should be unique
32
only_events=[DeleteRowsEvent, WriteRowsEvent, UpdateRowsEvent])
33
34
for binlogevent in stream:
0 commit comments