Interface KafkaBuildTimeConfig


@ConfigMapping(prefix="quarkus.kafka") @ConfigRoot(phase=BUILD_TIME) public interface KafkaBuildTimeConfig
  • 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.

    • snappyLoadFromSharedClassLoader

      @WithName("snappy.load-from-shared-classloader") @WithDefault("false") boolean snappyLoadFromSharedClassLoader()
      Whether to load the Snappy native library from the shared classloader. This setting is only used in tests if the tests are using different profiles, which would lead to unsatisfied link errors when loading Snappy.
    • devservices

      @ConfigDocSection(generated=true) KafkaDevServicesBuildTimeConfig devservices()
      Dev Services.

      Dev Services allows Quarkus to automatically start Kafka in dev and test mode.