Skip to content

Unofficial SDKs

Alongside the official SDKs, members of the community have built their own SDKs for RocketFlag. These are maintained by their respective authors, not by RocketFlag.

A community-built Java SDK by gustavomr, modelled on the official Go SDK. It supports fetching flags, user context (cohorts), and opt-in response caching, and requires Java 11 or higher.

import app.rocketflag.*;
Client rf = Client.newClient();
FlagStatus flag = rf.getFlag("flag-id", UserContext.withCohort("user@example.com"));
if (flag.isEnabled()) {
System.out.println("Feature '" + flag.getName() + "' is enabled!");
}

The RocketFlag API is a simple REST API — see the API Reference to get started. If you’ve built an SDK you’d like listed here, open a pull request against the docs repository.