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

Handle SSE #151

Open
gedw99 opened this issue Dec 25, 2024 · 2 comments
Open

Handle SSE #151

gedw99 opened this issue Dec 25, 2024 · 2 comments
Labels
enhancement New feature or request needs investigation It looks as though have all the information needed but investigation is required

Comments

@gedw99
Copy link

gedw99 commented Dec 25, 2024

I would like it if I could easily use SSE with benthos.

I would like to be able to tap systems that output http / sse.

I also would like to be able output SSE from benthos to other systems.

Then I would be able to process these SSE messages.

https://github.com/r3labs/sse Is both a sse client and server implementation that is one candidate for not reinventing the wheel.

https://github.com/tmaxmax/go-sse Is another

https://github.com/nlepage/go-wasm-http-server imports the go-sse package and is preferred because it is able to also work in a browser as WASM.

@gedw99
Copy link
Author

gedw99 commented Dec 25, 2024

@mihaitodor we had a brief discussion about this , so adding you to this so that you know I made an issue about this

@gedw99
Copy link
Author

gedw99 commented Dec 25, 2024

This can make the Benthos WASM Editor at https://github.com/mihaitodor/benthos-playground/tree/main/wasm/blobl-editor interactive because of the SSE feature that https://github.com/nlepage/go-wasm-http-server provides.

@mihaitodor mihaitodor added enhancement New feature or request needs investigation It looks as though have all the information needed but investigation is required labels Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs investigation It looks as though have all the information needed but investigation is required
Projects
None yet
Development

No branches or pull requests

2 participants