You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a kafka listener defined using @KafkaListener annotation with one input argument of type A.
If I add a customer annotation @annotation1 (for example for logging purposes) to this method argument then MessagingMessageListenerAdapter.determineInferredType returns type Object. When I remove my custom annotation then MessagingMessageListenerAdapter.determineInferredType return type A as expected.
The problem is probably with the condition on line 602:
I have a kafka listener defined using @KafkaListener annotation with one input argument of type A.
If I add a customer annotation @annotation1 (for example for logging purposes) to this method argument then MessagingMessageListenerAdapter.determineInferredType returns type Object. When I remove my custom annotation then MessagingMessageListenerAdapter.determineInferredType return type A as expected.
The problem is probably with the condition on line 602:
spring-kafka/spring-kafka/src/main/java/org/springframework/kafka/listener/adapter/MessagingMessageListenerAdapter.java
Lines 600 to 602 in 146c491
The text was updated successfully, but these errors were encountered: