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