This version is still in development and is not considered stable yet. For the latest stable version, please use Spring for Apache Kafka 3.3.0!spring-doc.cn

Native Images

Spring AOT native hints are provided to assist in developing native images for Spring applications that use Spring for Apache Kafka, including hints for AVRO generated classes used in @KafkaListeners.spring-doc.cn

spring-kafka-test (and, specifically, its EmbeddedKafkaBroker) is not supported in native images.

Some examples can be seen in the spring-aot-smoke-tests GitHub repository.spring-doc.cn