From 344326a162fe9e4125811cb52ec73491a0e34517 Mon Sep 17 00:00:00 2001 From: Yogesh Jain <54388005+YogeshJain96@users.noreply.github.com> Date: Tue, 24 Aug 2021 18:18:12 +0530 Subject: [PATCH] Remove unwanted double quote. This resulted in malformed json. --- quickstart/node/producer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstart/node/producer.js b/quickstart/node/producer.js index f9b9210..66b3a2e 100644 --- a/quickstart/node/producer.js +++ b/quickstart/node/producer.js @@ -44,7 +44,7 @@ producer.on('ready', function(arg) { console.log('producer ready.' + JSON.stringify(arg)); for (var i = 0; i < maxMessages; i++) { - var value = new Buffer(`{"name" : "person${i}"}"`); + var value = new Buffer(`{"name" : "person${i}"}`); var key = "key-"+i; // if partition is set to -1, librdkafka will use the default partitioner var partition = -1;