We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b444c88 + 7ef824e commit 76ad3d7Copy full SHA for 76ad3d7
src/app.js
@@ -46,7 +46,8 @@ function startKafkaConsumer(handlers, notificationServiceHandlers) {
46
// return null to ignore this message
47
return null;
48
}
49
- const messageJSON = JSON.parse(message);
+ const busPayload = JSON.parse(message);
50
+ const messageJSON = busPayload.payload;
51
const handlerAsync = Promise.promisify(handler);
52
// use handler to create notification instances for each recipient
53
return handlerAsync(topicName, messageJSON)
0 commit comments