Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚开始使用 Reactor Kafka。我想知道何时以及为什么使用ReactiveKafkaProducerTemplate而不是 KafkaSender 官方反应堆 kafka 参考指南中找到的?
这是你的选择; 它是KafkaSender.
KafkaSender
目前,唯一真正的增值是使用 aMessageConverter可以将 spring-messaging 转换Message<?>为 a ProducerRecord。
MessageConverter
Message<?>
ProducerRecord