RepostRuntime, and the plugin’s integration selection registers your generated client as a bean. Spring Boot and Jakarta CDI are dedicated integrations; everything else uses the framework-neutral core.
Spring Boot
Addsh.repost:repost-client-spring-boot-starter and set the plugin’s integration to SPRING_BOOT. The starter contributes a single, container-managed RepostRuntime bean bound to repost.client.* properties, and the plugin’s generated glue registers your client as an injectable bean:
REPOST_CLIENT_* environment variables also work):
application.yml
enabled, api-key, base-uri, connect-timeout, attempt-timeout, operation-timeout, max-attempts, max-in-flight, max-buffered-bytes, retry-base-delay, retry-max-delay, user-agent-suffix, and observability.micrometer-enabled / observability.opentelemetry-enabled under the repost.client prefix; an unknown key fails startup. Override the client by declaring a ClientOptionsCustomizer bean (applied to the builder), an ApiKeyProvider bean (takes precedence over api-key), or your own RepostRuntime bean (the starter backs off and does not close a runtime you own). The starter closes the runtime it created on context shutdown, exposes a health indicator and repost.client.runtime.* gauges, and auto-wires the Micrometer observer and OpenTelemetry telemetry when those bridges and a single registry/provider bean are present. Compiled against Spring Boot 4.0.7 and verified on 4.1.0 (JDK 17, 21, 25).
Jakarta CDI and MicroProfile
Addsh.repost:repost-client-cdi and set integration to CDI. A build-compatible CDI extension registers an @Singleton RepostRuntime, configured from the identical repost.client.* MicroProfile Config keys, and the generated glue makes your client injectable:
ClientOptionsCustomizer and ApiKeyProvider beans customize it; the extension disposes the runtime it owns when the scope ends and backs off when you supply your own RepostRuntime. Built against Jakarta CDI 4.0.1 and MicroProfile Config 3.1 — the CDI Lite / build-compatible extension model that WildFly, Open Liberty, and Payara support.
Other frameworks
Quarkus and Micronaut are not yet dedicated integrations — dedicated extensions and native certification are post-GA — but the framework-neutral core works today. Produce the shared runtime and client as beans and wire close to the container’s disposal hook:fromRuntime(...) borrows the runtime — closing the client does not close the shared runtime, so the container’s disposal of the RepostRuntime bean owns shutdown. One current Quarkus and one current Micronaut application pass this pattern in the release matrix. Vert.x (event-loop, via the CompletionStage API) is certified on 4.5.29 and 5.1.4.
Continue
Compatibility & security
The supported JDK, framework, and build-tool matrix and the security posture.
Configuration
The options behind the
repost.client.* property keys.Observability
The Micrometer and OpenTelemetry bridges the starter auto-wires.