Closed beeme1mr closed 1 year ago
for LaunchDarkly we have it a bit deeper than just FLAG_CONFIG_UPDATE
. You can pass in a context that when the update(rule changes) affects the return valuation for that specific context then the event is emitted.
CloudBees also has a ConfigurationFetchedHandler that can notify the client when flag configurations are changed in the dashboard.
https://github.com/open-feature/java-sdk/pull/30 for an idea on implementing it.
I'm going to close this since we have an OFEP that's a better platform for concrete discussion.
Summary
Many vendors support an event-based API that allows developers to subscribe for events. This can be used to detect when the SDK is ready to perform flag evaluation or a flag configuration changes.
Events
The following events should be considered defining the spec.
References