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?
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
.