Skip to content

Commit 3ab91d6

Browse files
garyrussellartembilan
authored andcommitted
Docs for Native Images
1 parent 70035e7 commit 3ab91d6

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

spring-kafka-docs/src/main/asciidoc/appendix.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,16 @@ include::../docs/generated/spans.adoc[]
5959

6060
include::../docs/generated/conventions.adoc[]
6161

62+
[appendix]
63+
[[native-images]]
64+
== Native Images
65+
66+
https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#aot[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 `@KafkaListener` s.
67+
68+
IMPORTANT: `spring-kafka-test` (and, specifically, its `EmbeddedKafkaBroker`) is not supported in native images.
69+
70+
Some examples can be seen in the https://github.com/spring-projects/spring-aot-smoke-tests/tree/main/integration[`spring-aot-smoke-tests` GitHub repository].
71+
6272
[appendix]
6373
[[history]]
6474
== Change History

spring-kafka-docs/src/main/asciidoc/whats-new.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ See <<exactly-once>> and https://cwiki.apache.org/confluence/display/KAFKA/KIP-4
2323
Enabling observation for timers and tracing using Micrometer is now supported.
2424
See <<observation>> for more information.
2525

26+
[[x30-Native]]
27+
==== Native Images
28+
29+
Support for creating native images is provided.
30+
See <<native-images>> for more information.
31+
2632
[[x30-global-embedded-kafka]]
2733
==== Global Single Embedded Kafka
2834

0 commit comments

Comments
 (0)