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 K8s.Client.Runner.Watch.stream/3 to return watch events as stream #121

Merged
merged 11 commits into from
Jan 31, 2022
Merged

Add K8s.Client.Runner.Watch.stream/3 to return watch events as stream #121

merged 11 commits into from
Jan 31, 2022

Conversation

mruoss
Copy link
Collaborator

@mruoss mruoss commented Oct 12, 2021

A proposal to solve #10. In my opinion, the watcher should return a stream of events. That's what this modules does. The code is inspired by bonny's watcher but solves some things a bit differently (e.g. transforming chunks to lines to events).

This time I've tested it on my local cluster.

What do you think?

@coryodaniel
Copy link
Owner

Oh, this is very cool. I'm going to cut some time out of Friday afternoon to review in more depth.

@mruoss
Copy link
Collaborator Author

mruoss commented Nov 2, 2021

Hey @coryodaniel did you have the chance to look at this?

@coryodaniel
Copy link
Owner

coryodaniel commented Nov 3, 2021 via email

Copy link
Contributor

@jlgeering jlgeering left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mruoss mruoss merged commit a710a7a into coryodaniel:develop Jan 31, 2022
@mruoss mruoss deleted the watch-as-stream branch February 21, 2022 15:28
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.

3 participants