WIP add materialize webhook source as buz sink #585
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
So far this is very much a WIP PR that was made in haste without testing, but could stand as a starting off point to integrating buz with Materialize's webhook sources. Webhook sources have some limitations, but ultimately should be a bit better/more performant than using Tables directly.
https://materialize.com/docs/ingest-data/webhook-quickstart/
I'm not sure how to handle the schema/db names, or if the way I'm doing MZ view/source creation makes sense in this context.