user1955934
user1955934

Reputation: 3495

Reactor Kafka: ReactiveKafkaProducerTemplate

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

Answers (1)

Gary Russell
Gary Russell

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

Related Questions