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

feature flag subscriptions #25820

Open
mfulton26 opened this issue Oct 25, 2024 · 0 comments
Open

feature flag subscriptions #25820

mfulton26 opened this issue Oct 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mfulton26
Copy link

Feature request

Is your feature request related to a problem?

I'd like my web app to always be using the latest feature flag values but not need to poll at some interval.

Describe the solution you'd like

Expose a way to subscribe to feature flags and have changes pushed by using server-sent events (SSE) text/event-stream or a WebSocket API (bi-directional communications isn't needed here though and HTTPS is my preference, so I feel like SSE is a better solution).

Describe alternatives you've considered

Poll from the app and/or set-up server-side local evaluation to create an event-stream subscription myself.

Additional context

Debug info

- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]
@mfulton26 mfulton26 added the enhancement New feature or request label Oct 25, 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
Projects
None yet
Development

No branches or pull requests

1 participant