Any solution for using flagd configuration file for Java Memory Provider #266
-
Hi, I want using flagd configuration file |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@cartermfv flagd Java provider implementation now has the support for an offline mode. This was released with the version v0.6.6 and you can find the updated documentation here. For example, if you would like to use example_flags.json as your feature flags, you can initilize flagd provider as below, FlagdProvider flagdProvider = new FlagdProvider(
FlagdOptions.builder()
.resolverType(Config.Evaluator.IN_PROCESS)
.offlineFlagSourcePath("example_flags.json")
.build()); This mode was added to improve the local developer experience and help with testing. However, it is totally acceptable to use with a self-contained application. Let me know if this helps you. |
Beta Was this translation helpful? Give feedback.
@cartermfv flagd Java provider implementation now has the support for an offline mode. This was released with the version v0.6.6 and you can find the updated documentation here.
For example, if you would like to use example_flags.json as your feature flags, you can initilize flagd provider as below,
This mode was added to improve the local developer experience and help with testing. However, it is totally acceptable to use with a self-contained application.
Let me k…