Reputation: 3495
I've just started using Reactor Kafka. I am wondering when and why use ReactiveKafkaProducerTemplate over KafkaSender which is found in official reactor kafka reference guide?
Upvotes: 3
Views: 2360
Reputation: 174494
It's your choice; it's a wrapper around the KafkaSender
.
Currently, the only real value add is the use of a MessageConverter
which can convert a spring-messaging Message<?>
to a ProducerRecord
.
Upvotes: 6