I'm wondering how to use the spring-kafka annotation @RetryableTopic
within an integration flow.
Is there any way to apply it onto a consumer introduced by Kafka.messageDrivenChannelAdapter()
?
I'm wondering how to use the spring-kafka annotation @RetryableTopic
within an integration flow.
Is there any way to apply it onto a consumer introduced by Kafka.messageDrivenChannelAdapter()
?
You cannot, directly.
However, you can invoke a spring integration flow using a Messaging Gateway from a @KafkaListener
(that is effectively what the message driven channel adapter does).