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 real-time events through SSE and/or websocket endpoint #448

Open
acouvreur opened this issue Nov 11, 2024 · 2 comments
Open

Add real-time events through SSE and/or websocket endpoint #448

acouvreur opened this issue Nov 11, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@acouvreur
Copy link
Member

Create a Server Sent Event endpoint or a websocket endpoint to allow consumer to display live informations.

Such endpoint could be sent as response href/location header (X-Sablier-SSE-url, etc.) to fetch the events related to the initial query.

Plugins could then call this once and then just receive live update. And this connection would keep the session up all the time.

@acouvreur acouvreur added the enhancement New feature or request label Nov 11, 2024
@acouvreur acouvreur self-assigned this Nov 11, 2024
@sftim
Copy link

sftim commented Nov 15, 2024

SSE updates would be handy.

For Kubernetes, I wonder if emitting Events is also appropriate?

@acouvreur
Copy link
Member Author

Kubernetes events will be listened to because Sablier triggers this events by changing the cluster resources.

At some point this project is also some kind of abstraction on turning on and off workloads.

For each concrete implementation (docker, kubernetes, etc.) the project needs a uniformized way of saying: container has started/deployement is ready/etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants