Skip to content

Commit

Permalink
source-mysql: Ignore RowsQueryEvents
Browse files Browse the repository at this point in the history
  • Loading branch information
willdonnelly committed Feb 28, 2024
1 parent e4a6fc2 commit 7e1970a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source-mysql/replication.go
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,8 @@ func (rs *mysqlReplicationStream) run(ctx context.Context) error {
} else {
logrus.WithField("event", event.Header.EventType.String()).Debug("Generic Event")
}
case *replication.RowsQueryEvent:
logrus.WithField("query", string(data.Query)).Debug("ignoring Rows Query Event")
default:
return fmt.Errorf("unhandled event type: %q", event.Header.EventType)
}
Expand Down

0 comments on commit 7e1970a

Please sign in to comment.