-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discard op code m change events #42431
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
It looks like other DBs can have the same issue, but we can republish those later - Postgres has the issue now.
...ces/src/main/kotlin/io/airbyte/cdk/integrations/debezium/internals/DebeziumRecordIterator.kt
Outdated
Show resolved
Hide resolved
…byte/cdk/integrations/debezium/internals/DebeziumRecordIterator.kt Co-authored-by: Evan Tahler <evan@airbyte.io>
/publish-java-cdk
|
What
Fixes #41647
Debezium change events are coming with an operation code.
Op code "m" signifies a "message" event that is irrelevant for syncing as it contains no before or after data.
In this case a 3rd party wrote arbitrary messages into the WAL log which caused us to fail parsing.
We want to only handle known event types.
How
Discard debezium change events that has
op: m
.User Impact
Should not impact users as it should unblock cases a message event breaks us.
Can this PR be safely reverted and rolled back?