kafka
kafka copied to clipboard
is produce persistent connection or short connnection?
return producer.init().then(function(){ return producer.send({ topic: '111111', message: { value: 'Hello!' } }); }) .then(function (result) { console.log(result); });