Package io.quarkus.mongodb.deployment
Interface MongoClientBuildTimeConfig
@ConfigMapping(prefix="quarkus.mongodb")
@ConfigRoot(phase=BUILD_TIME)
public interface MongoClientBuildTimeConfig
-
Method Summary
Modifier and TypeMethodDescriptionDev Services.booleanIf set to true, the default clients will always be created even if there are no injection points that use thembooleanWhether a health check is published in case the smallrye-health extension is present.booleanWhether metrics are published in case a metrics extension is present.booleanWhether tracing spans of driver commands are sent in case the quarkus-opentelemetry extension is present.
-
Method Details
-
healthEnabled
@WithDefault("true") @WithName("health.enabled") boolean healthEnabled()Whether a health check is published in case the smallrye-health extension is present. -
metricsEnabled
@WithName("metrics.enabled") @WithDefault("false") boolean metricsEnabled()Whether metrics are published in case a metrics extension is present. -
forceDefaultClients
@WithName("force-default-clients") @WithDefault("false") boolean forceDefaultClients()If set to true, the default clients will always be created even if there are no injection points that use them -
tracingEnabled
@WithName("tracing.enabled") @WithDefault("false") boolean tracingEnabled()Whether tracing spans of driver commands are sent in case the quarkus-opentelemetry extension is present. -
devservices
Dev Services.Dev Services allows Quarkus to automatically start MongoDB in dev and test mode.
-