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

Support running in offline mode (e.g. bootstrap feature toggles from a file) #185

Closed
vgrigoruk opened this issue Oct 30, 2024 · 1 comment
Assignees

Comments

@vgrigoruk
Copy link
Contributor

Describe the feature request

Unleash NodeJS sdk has the following functionality that supports running in "offline" mode:

Using these options, it is possible to run the the client w/o network access to Unleash API. It would be nice if unleash-client-go also supports this.

Background

Running the SDK in offline mode is necessary to support the following use-cases:

  • running the apps in offline environments, where toggle updates only occur when a new version of the code is deployed
  • support determinism in local development and CI environment while keeping the setup simple (avoid adding unleash-edge running in "offline" mode to local dev/test environment).

Solution suggestions

No response

@FredrikOseberg
Copy link
Contributor

@vgrigoruk The Golang SDK also supports bootstrapping from a file. See this section of the README.md. It should also support setting refreshInterval to 0 via configOptions.

@github-project-automation github-project-automation bot moved this from Investigating to Done in Issues and PRs Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants