Class KafkaBuildTimeConfig


  • @ConfigRoot(name="kafka",
                phase=BUILD_TIME)
    public class KafkaBuildTimeConfig
    extends Object
    • Field Detail

      • healthEnabled

        @ConfigItem(name="health.enabled",
                    defaultValue="false")
        public 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

        @ConfigItem(name="snappy.enabled",
                    defaultValue="false")
        public 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

        @ConfigItem
        public KafkaDevServicesBuildTimeConfig devservices
        Configuration for DevServices. DevServices allows Quarkus to automatically start Kafka in dev and test mode.
    • Constructor Detail

      • KafkaBuildTimeConfig

        public KafkaBuildTimeConfig()