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 62
62
import org .springframework .kafka .annotation .KafkaBootstrapConfiguration ;
63
63
import org .springframework .kafka .annotation .KafkaListener ;
64
64
import 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 ;
68
65
import org .springframework .kafka .config .AbstractKafkaListenerContainerFactory ;
69
66
import org .springframework .kafka .config .ConcurrentKafkaListenerContainerFactory ;
70
67
import org .springframework .kafka .config .KafkaListenerContainerFactory ;
100
97
* @since 3.0
101
98
*
102
99
*/
103
- public class KafkaRuntimeHintsRegistrar implements RuntimeHintsRegistrar {
100
+ public class KafkaRuntimeHints implements RuntimeHintsRegistrar {
104
101
105
102
@ Override
106
103
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 );
111
105
ReflectionHints reflectionHints = hints .reflection ();
112
106
Stream .of (
113
107
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
2
2
org.springframework.beans.factory.aot.BeanRegistrationAotProcessor=org.springframework.kafka.aot.KafkaAvroBeanRegistrationAotProcessor
You can’t perform that action at this time.
0 commit comments