-
Notifications
You must be signed in to change notification settings - Fork 39
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
Multi Provider for OpenFeature #255
Comments
One key detail that came up when I did a PoC of an aggregated provider like this is how to handle provider events (and lifecycle) outside of the main provider registry (using SDK-specific, not spec terminology here). Providers can emit events spontaneously and these events will have to be routed through the meta provider before bubbling to the main SDK event handling code, as they would belong to an unregistered provider. It's hard to avoid this because events are necessary to properly keep track of each provider status. SDKs might want to provide a standard implementation of such a provider lifecycle manager to ease the writing of aggregated providers and ensure consistency in handling events and status changes. |
I like the idea of this provider but I am not super excited about the name of it. It's pretty For OpenTelemetry I have a similar thing for the exporters so it sends it both to Maybe some naming similar to that might be more clarifying? |
Meta was a better name than The only strategy currently implemented in the Ruby contrib is |
👋🏻 just throwing my two cents re: naming. I also like Another idea: |
I think we need to dig into the specific scenarios or use cases before we decide on naming because we can very well be talking about different provider implementations altogether. For example, a |
I am with you @federicobond. Having this would maybe make it more clear and also delimit it from other not "in-scope" use cases. |
Overview
A multi provider acts as a unified abstraction layer, allowing developers to consolidate feature flag access through a single API. With a multi provider, developers can simultaneously support multiple providers, making it easier to migrate between them.
Requirements
Tasks
Resources
Ideas
Pseudo code
Questions
Prior art
MetaProvider
gem and basic implementation ruby-sdk-contrib#17The text was updated successfully, but these errors were encountered: