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

Support watch/subscribe functionality #3

Open
imiric opened this issue Apr 6, 2024 · 0 comments
Open

Support watch/subscribe functionality #3

imiric opened this issue Apr 6, 2024 · 0 comments
Labels
enhancement New feature or request high prio
Milestone

Comments

@imiric
Copy link
Contributor

imiric commented Apr 6, 2024

It should be possible for Disco clients to subscribe to updates of individual keys or a group of keys.

Suggested implementation

This might need rethinking but:

  • There could be a --watch or --subscribe flag on the get command.
    If the --remote flag is also specified, then the client connects to the Server-Sent Events endpoint on the server, subscribing to the requested keys. The SSE functionality should be implemented on the server first.
  • The get command could also support a --tags flag, to watch a group of keys without having to specify each one. Tagging keys should be implemented first.
@imiric imiric added this to the 2024 Q2 milestone Apr 23, 2024
@imiric imiric added high prio enhancement New feature or request labels Apr 23, 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 high prio
Projects
None yet
Development

No branches or pull requests

1 participant