Skip to content
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

Add HTTP connections and add support for event source tables in SQL #119

Merged
merged 1 commit into from
May 15, 2023

Conversation

mwylde
Copy link
Member

@mwylde mwylde commented May 12, 2023

Event sources are now configured via a connection (containing the HTTP endpoint and headers--typically auth related), which allows them to be created in SQL:

CREATE TABLE mastodon (
    value TEXT
)
WITH (
    connection = 'mastodon',
    path = '/streaming/public',
    events = 'update',
    serialization_mode = 'raw_json');

@mwylde mwylde requested a review from jacksonrnewhouse May 12, 2023 23:57
@mwylde mwylde force-pushed the http_connection branch from 3937080 to 9d31a64 Compare May 15, 2023 18:28
@mwylde mwylde force-pushed the http_connection branch from 9d31a64 to 58ad2d3 Compare May 15, 2023 18:46
@mwylde mwylde merged commit 628631e into master May 15, 2023
@mwylde mwylde deleted the http_connection branch May 15, 2023 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants