From 401a60d0167006d8f2fe7430394d5789adf6e576 Mon Sep 17 00:00:00 2001 From: Matias Fontanini Date: Sat, 15 Apr 2017 17:17:07 -0700 Subject: [PATCH] Fix README.md to use MessageBuilder --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 70678e1..c53f71e 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ int main() { // Produce a message! string message = "hey there!"; - producer.produce(topic, 0 /*partition*/, message); + producer.produce(MessageBuilder(topic).partition(0).payload(message)); } ```