Skip to content

Instantly share code, notes, and snippets.



Last active Jun 15, 2018
What would you like to do?
public class Sender {
private KafkaTemplate<String, OrderStatusChangeEvent> kafkaTemplate;
public void send(String topic, OrderStatusChangeEvent payload) {"sending payload='{}' to topic='{}'", payload, topic);
kafkaTemplate.send(topic, payload);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.