Skip to content

Commit 18705e7

Browse files
authored
Update mysql_to_logstash.py
Repair the parameter error
1 parent 9f4c4ed commit 18705e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/logstash/mysql_to_logstash.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
def main():
2929
stream = BinLogStreamReader(
3030
connection_settings=MYSQL_SETTINGS,
31+
server_id=3,
3132
only_events=[DeleteRowsEvent, WriteRowsEvent, UpdateRowsEvent])
3233

3334
for binlogevent in stream:

0 commit comments

Comments
 (0)