File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
java/org/springframework/kafka/aot
resources/META-INF/spring Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 6262import org .springframework .kafka .annotation .KafkaBootstrapConfiguration ;
6363import org .springframework .kafka .annotation .KafkaListener ;
6464import org .springframework .kafka .annotation .KafkaListenerAnnotationBeanPostProcessor ;
65- import org .springframework .kafka .annotation .KafkaListeners ;
66- import org .springframework .kafka .annotation .PartitionOffset ;
67- import org .springframework .kafka .annotation .TopicPartition ;
6865import org .springframework .kafka .config .AbstractKafkaListenerContainerFactory ;
6966import org .springframework .kafka .config .ConcurrentKafkaListenerContainerFactory ;
7067import org .springframework .kafka .config .KafkaListenerContainerFactory ;
10097 * @since 3.0
10198 *
10299 */
103- public class KafkaRuntimeHintsRegistrar implements RuntimeHintsRegistrar {
100+ public class KafkaRuntimeHints implements RuntimeHintsRegistrar {
104101
105102 @ Override
106103 public void registerHints (RuntimeHints hints , @ Nullable ClassLoader classLoader ) {
107- RuntimeHintsUtils .registerAnnotation (hints , KafkaListener .class );
108- RuntimeHintsUtils .registerAnnotation (hints , KafkaListeners .class );
109- RuntimeHintsUtils .registerAnnotation (hints , PartitionOffset .class );
110- RuntimeHintsUtils .registerAnnotation (hints , TopicPartition .class );
104+ RuntimeHintsUtils .registerSynthesizedAnnotation (hints , KafkaListener .class );
111105 ReflectionHints reflectionHints = hints .reflection ();
112106 Stream .of (
113107 ConsumerProperties .class ,
Original file line number Diff line number Diff line change 1- org.springframework.aot.hint.RuntimeHintsRegistrar=org.springframework.kafka.aot.KafkaRuntimeHintsRegistrar
1+ org.springframework.aot.hint.RuntimeHintsRegistrar=org.springframework.kafka.aot.KafkaRuntimeHints
22org.springframework.beans.factory.aot.BeanRegistrationAotProcessor=org.springframework.kafka.aot.KafkaAvroBeanRegistrationAotProcessor
You can’t perform that action at this time.
0 commit comments