Spring Integration Kafka

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/chen517611641/article/details/88385952

从org.springframework.integration.kafka.dsl.Kafka可以看到,Spring Integration Kafka模块提供了以下五个Spring Integration Component:
OutboundChannelAdapter由KafkaProducerMessageHandler实现,构造函数传入KafkaTemplate;
OutboundGateway也是由KafkaProducerMessageHandler实现,构造参数传入ReplyingKafkaTemplate
InboundChannelAdapter由KafkaMessageSource实现;
InboundGateway由KafkaInboundGateway实现;
MessageDrivenChannelAdapter由KafkaMessageDrivenChannelAdapter实现;

猜你喜欢

转载自blog.csdn.net/chen517611641/article/details/88385952