Feature Flags Without Lock-In: OpenFeature in Java
A feature flag starts as a glorified conditional and ends as production configuration with a lifecycle. This course builds that lifecycle in Java with OpenFeature, the CNCF standard for feature flags: one evaluation API, a safe default on every call, providers you can swap, evaluation context for targeting, and hooks that send every evaluation to OpenTelemetry. It follows Simon Schrottner's talk at the Amsterdam Java User Group, as Luca Berton wrote it up on lucaberton.com, and his Udienza interview.
You type every command yourself, break a flag on purpose to see the default win, move the same flag from flagd to self-hosted Flagsmith without touching the calls, and find a flag nobody evaluates any more before you delete it.
The narration is a synthetic voice made from the author's own voice.
What you'll learn
- Tell release, ops, experiment and permission flags apart, and how long each should live
- Evaluate flags through the OpenFeature Java SDK, and rely on the mandatory default when anything goes wrong
- Swap the flag provider from flagd to Flagsmith without changing the evaluation calls
- Target users and regions with evaluation context, and predict the result from the merge order
- Send every flag evaluation to OpenTelemetry with a hook
- Find obsolete flags from telemetry and remove them safely
Who this is for
- • DevOps engineers deepening their expertise
- • SREs building production-grade systems
- • Backend developers expanding into infrastructure
Prerequisites
- • A Mac with Apple silicon, Docker through Colima, and a Java 25 JDK
- • Basic Java: classes, methods and running a program from the terminal
- • No feature-flag product is needed: the course runs flagd and Flagsmith locally
Course content
2 modules, 6 lessons, 31m of video
Module 1
3 lessons, 16 min
5 min
See why a repurposed flag can cost a company, sort flags into four kinds, and evaluate a flag through the OpenFeature Java SDK with flagd reading a JSON file. Then change the flag in the file, not in the code. The narration is a synthetic voice made from the author's own voice.
5 min
Break a flag four ways: an unreachable provider, a mistyped key, a wrong type and an evaluation error. Read the evaluation details each time, and watch the default keep the service answering.
7 min
Run Flagsmith on your Mac with Docker Compose, create the same flag in its dashboard, and switch the provider in one class. The evaluation calls stay the same, and a toggle in the dashboard changes the running service at its next request, with no restart.
Module 2
3 lessons, 15 min
5 min
Set context globally, per client and per call, write a flagd rule that targets a region and then ten percent of the other users, and predict which value wins from the merge order.
7 min
Write a small hook for each stage of an evaluation, then add OpenTelemetry's traces and metrics hooks, and find every evaluation, with its flag key and variant, in Jaeger.
5 min
Give flags an owner and an expiry, ask Jaeger's query API whether anyone still evaluates a flag, and remove it from the code before you remove it from the provider.
Get started
Start Free LessonFirst lesson is always free — no signup required
This course includes
Every lesson, with Pro
All 6 lessons of this course and every other course.
$25 a month billed yearly, or $29 month to month
Until 30 November: $210 for the first year, or $14.50 for the first month, with code LAUNCH.
Your instructor

Founder and CEO, Open Empower. About the author
More in Foundations
All courses in this trackDocker Fundamentals
Learn Docker from scratch. Build, ship, and run containers with confidence. This hands-on course covers everything from basic container concepts to multi-stage builds.
Beginner · 5 lessons · 4 h
Preview free lesson
SELinux for System Admins
Master SELinux on RHEL 9/10. Learn mandatory access control, file contexts, booleans, AVC troubleshooting, and hands-on Apache labs — all with SELinux enforcing.
Beginner · 12 lessons
Preview free lesson
Node.js REST APIs
Build production-ready REST APIs with Node.js, Express, and TypeScript. From routing to authentication, this course covers the essentials of backend development.
Intermediate · 5 lessons · 6 h
Preview free lesson