Skip to content

Commit 5d43357

Browse files
committed
chore: add consumer handler debug log
1 parent 0238cac commit 5d43357

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ async function initConsumer () {
153153
subscriptions: topics,
154154
handler: async (messageSet, topic, partition) => {
155155
eventEmitter.emit('start_handling_message')
156+
localLogger.debug(`Consumer handler. Topic: ${topic}, partition: ${partition}, message set length: ${messageSet.length}`)
156157
await dataHandler(messageSet, topic, partition)
157158
eventEmitter.emit('end_handling_message')
158159
}

0 commit comments

Comments
 (0)