-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
chore: drop kafka_skip_broken_messages from kafka_events_json #18970
Conversation
@fuziontech I'm not sure if I missed a tool to create these, I created the migration manually. I assume our migration script checks for the migration by name. Speaking of which, there are two |
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.
lgtm
Ping @fuziontech - looks like I need your approval. |
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.
lgtm! sorry for lag
🚢 it!
No tool to make these, just manually. Checks for i+1 where i is the current migration id.
oh, interesting. I would probably increment this to |
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.
👀
Actually. Give me a second to put a PR to correct this. One of those migrations needs to be removed. One sec. |
Once this lands, let's rebase this one and 🚢 it |
de1741a
to
7cb5d1e
Compare
Rebased 🤞 |
Looks good, just needs your stamp @fuziontech |
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.
just kept rolling for all green tests.
Ship it!
Actually going to close this in favor of the upcoming This migration will allow bad messages to kill ingestion, where as the |
Problem
We shouldn't be sending any messages that don't deserialize properly, and so we'd like to go back to
kafka_skip_broken_messages = 0
in prod.Changes
Remake virtual Kafka table (and MV that's based on it) without the
kafka_skip_broken_messages
setting.👉 Stay up-to-date with PostHog coding conventions for a smoother review.
How did you test this code?
This is modeled after a previous migration and should be reversible. Since it could pause the pipeline we should probably deploy early on a Monday and monitor it (with a revert PR ready).