Skip to content

Conversation

@jamesm-macrometa
Copy link
Contributor

@jamesm-macrometa jamesm-macrometa commented Mar 2, 2023

This PR adds Stream Workers related content for WebSocket source/sinks

@vercel
Copy link

vercel bot commented Mar 2, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
docs ✅ Ready (Inspect) Visit Preview Mar 8, 2023 at 2:02AM (UTC)

@jamesm-macrometa
Copy link
Contributor Author

@diana-macrometa This is close to ready for review, but I'm still fuzzy on how WebSockets work. Setting up a meeting with an SME to chat before I put this into review, but feel free to take a look if you like.

Co-authored-by: Diana Payton <105658419+diana-macrometa@users.noreply.github.com>

The [WebSocket sink](websocket.md) sends events through the server which are then passed to the `example` stream. All events received by `example` stream are then sent to the WebSocket server

Clients can connect to `ws://localhost:9025/abc` to receive events from the stream.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@StoyanTc Does the URL have to be this specific value (ws://localhost:9025/abc)? Or do we need to provide more specific instructions for connecting?

jamesm-macrometa and others added 4 commits March 7, 2023 17:59
Co-authored-by: Diana Payton <105658419+diana-macrometa@users.noreply.github.com>
Co-authored-by: Diana Payton <105658419+diana-macrometa@users.noreply.github.com>
@jamesm-macrometa jamesm-macrometa marked this pull request as ready for review March 8, 2023 06:22
@jamesm-macrometa jamesm-macrometa requested review from a user and StoyanTc March 8, 2023 06:22
@jamesm-macrometa
Copy link
Contributor Author

@StoyanTc Can you please take a look at the docs in this PR + the SQL samples and let me know how they look? Thank you!

Copy link
Contributor

@StoyanTc StoyanTc left a comment

Choose a reason for hiding this comment

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

@diana-macrometa - Could we hold off the doc for this extension and get rid of the existing one if there is such for 0.17.12.
Here are the reasons:

  1. No one has tested it till now I think?
  2. I believe some of the parameters from the original extension will get taken out but others will be introduced.

@diana-macrometa
Copy link
Contributor

@StoyanTc, we can hold it until after 17.12 is deployed. WebSocket is one of the source/sinks you told me that we support but lacked documentation for. I was not aware that there would be additional testing needed.

What do we need to do for this and the other missing source/sink documentation?

@StoyanTc
Copy link
Contributor

StoyanTc commented Mar 8, 2023

@StoyanTc, we can hold it until after 17.12 is deployed. WebSocket is one of the source/sinks you told me that we support but lacked documentation for. I was not aware that there would be additional testing needed.

What do we need to do for this and the other missing source/sink documentation?

I told you before that we have such extensions implemented but I have probably forgotten to tell you that no one has tested them.
I'm alone on c8cep & c8streams at the moment and there are a lot of other pending issues. So, cannot say I'll have a time to work on this.

@diana-macrometa
Copy link
Contributor

Not a problem. These things do not have a due date.

@diana-macrometa
Copy link
Contributor

@dlozina-macrometa, is this something you might be interested in testing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants