Unverified Commit 7ae13130 authored by Bennett Piater's avatar Bennett Piater
Browse files

Fix producer's JSON output

parent 6825c406
......@@ -21,7 +21,7 @@ async function main({id}) {
topic: 'mra5q18k-sensors',
messages: [{
key: null,
value: `{producer: ${id}, timestamp: ${date}, value: ${value}}`}]
value: `{"producer": ${id}, "timestamp": ${date}, "value": ${value}}`}]
})
await producer.disconnect()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment