Class KafkaBuildTimeConfig
- java.lang.Object
-
- io.quarkus.kafka.client.deployment.KafkaBuildTimeConfig
-
@ConfigRoot(name="kafka", phase=BUILD_TIME) public class KafkaBuildTimeConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description KafkaDevServicesBuildTimeConfigdevservicesConfiguration for DevServices.booleanhealthEnabledWhether a health check is published in case the smallrye-health extension is present.booleansnappyEnabledWhether to enable Snappy in native mode.
-
Constructor Summary
Constructors Constructor Description KafkaBuildTimeConfig()
-
-
-
Field Detail
-
healthEnabled
@ConfigItem(name="health.enabled", defaultValue="false") public boolean healthEnabledWhether 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
@ConfigItem(name="snappy.enabled", defaultValue="false") public boolean snappyEnabledWhether 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
@ConfigItem public KafkaDevServicesBuildTimeConfig devservices
Configuration for DevServices. DevServices allows Quarkus to automatically start Kafka in dev and test mode.
-
-