https://github.com/quarkiverse/quarkus-flags
A lightweight and extensible feature flag extension
https://github.com/quarkiverse/quarkus-flags
feature-flags quarkus-extension toggles
Last synced: 4 days ago
JSON representation
A lightweight and extensible feature flag extension
- Host: GitHub
- URL: https://github.com/quarkiverse/quarkus-flags
- Owner: quarkiverse
- License: apache-2.0
- Created: 2025-11-11T15:54:02.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2026-05-28T15:11:42.000Z (11 days ago)
- Last Synced: 2026-05-28T16:24:41.605Z (10 days ago)
- Topics: feature-flags, quarkus-extension, toggles
- Language: Java
- Homepage: https://docs.quarkiverse.io/quarkus-flags/dev
- Size: 367 KB
- Stars: 6
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: security/deployment/pom.xml
Awesome Lists containing this project
README
# Quarkus Feature Flags
[](https://central.sonatype.com/artifact/io.quarkiverse.flags/quarkus-flags-parent)
This project aims to provide a lightweight and extensible feature flag Quarkus extension.
More specifically, it provides:
* An API to access feature flags.
* An SPI to provide flags and externalize the computation of a flag value.
* Built-in flag providers:
* Leverage Quarkus config to define feature flags,
* In-memory repository (useful for testing and dynamic registration).
* Built-in flag evaluators:
* Time span evaluator - based on the current date-time obtained from the system clock in the default time-zone.
* Composite evaluator - evaluates a flag with the specified sub-evaluators.
* Variant evaluator - selects a value from a set of named variants based on the computation context.
* [Hibernate ORM module](https://docs.quarkiverse.io/quarkus-flags/dev/hibernate-orm.html), where feature flags are mapped from an annotated entity and are automatically loaded from the database.
* [Security module](https://docs.quarkiverse.io/quarkus-flags/dev/security.html), so that it's possible to evaluate flags based on the current `SecurityIdentity`.
* [Qute module](https://docs.quarkiverse.io/quarkus-flags/dev/qute.html), so that it's possible to use the flags directly in templates.
* [Cron module](https://docs.quarkiverse.io/quarkus-flags/dev/cron.html) with a flag evaluator that matches a specific CRON expression.
* [OpenFeature module](https://docs.quarkiverse.io/quarkus-flags/dev/openfeature.html), so that it's possible to use any OpenFeature-compatible provider as a flag backend.
## Documentation
The documentation is available at https://docs.quarkiverse.io/quarkus-flags/dev/.