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 event source source operator #106

Merged
merged 1 commit into from
May 9, 2023
Merged

Add event source source operator #106

merged 1 commit into from
May 9, 2023

Conversation

mwylde
Copy link
Member

@mwylde mwylde commented May 9, 2023

This PR adds a source for the EventSource protocol (also called server-sent events).

This is a lightweight, HTTP streaming protocol. Supporting it allows Arroyo to read from a variety of open streaming sources, like the mastodon firehose (https://docs.joinmastodon.org/methods/streaming/#public), for example the one available at https://mstdn.social/api/v1/streaming/public.

This PR also refactors the serialization code used by the kafka source, to make it usable from other sources without code duplication.

@mwylde mwylde requested a review from jacksonrnewhouse May 9, 2023 01:19
@mwylde mwylde merged commit ea96f55 into master May 9, 2023
@mwylde mwylde deleted the eventsource branch May 9, 2023 18:46
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