Skip to content

Commit 2864417

Browse files
Merge pull request julien-duponchelle#166 from toadzhou/patch-1
Update mysql_to_logstash.py
2 parents 9f4c4ed + 18705e7 commit 2864417

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)