Any solution for using flagd configuration file for Java Memory Provider #266
|
Hi, I want using flagd configuration file |
Answered by
Kavindu-Dodan
Oct 16, 2023
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. |
1 reply
Answer selected by
cartermfv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@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…