@Reflective and ReflectiveProcessor support for KafkaListener #2765
-
Hey, I am working on adapting Native hints for Spring Cloud AWS SQS and since I am looking into Spring Kafka for inspiration I noticed |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
See We did add some code to detect AVRO types in listener methods, but everything works without |
Beta Was this translation helpful? Give feedback.
-
The
So, that's an answer for you how it work in Spring for Apache Kafka. |
Beta Was this translation helpful? Give feedback.
See
spring-kafka/spring-kafka/src/main/java/org/springframework/kafka/aot/KafkaRuntimeHints.java
Lines 89 to 96 in 08e76d3
We did add some code to detect AVRO types in listener methods, but everything works without
@Reflective
on@KafkaListener
.spring-kafka/spring-kafka/src/main/java/org/springframework/kafka/aot/KafkaAvroBeanRegistrationAotProcessor.java
Lines 38 to 46 in 08e76d3