Interface KafkaBuildTimeConfig
@ConfigMapping(prefix="quarkus.kafka")
@ConfigRoot(phase=BUILD_TIME)
public interface KafkaBuildTimeConfig
-
Method Summary
Modifier and TypeMethodDescriptionDev Services.booleanWhether a health check is published in case the smallrye-health extension is present.booleanWhether to enable Snappy in native mode.booleanWhether to load the Snappy native library from the shared classloader.
-
Method Details
-
healthEnabled
@WithName("health.enabled") @WithDefault("false") boolean healthEnabled()Whether a health check is published in case the smallrye-health extension is present.If you enable the health check, you must specify the `kafka.bootstrap.servers` property.
-
snappyEnabled
@WithName("snappy.enabled") @WithDefault("false") boolean snappyEnabled()Whether to enable Snappy in native mode.Note that Snappy requires GraalVM 21+ and embeds a native library in the native executable. This library is unpacked and loaded when the application starts.
-
devservices
Dev Services.Dev Services allows Quarkus to automatically start Kafka in dev and test mode.
-