Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8f546fe

Browse files
authoredSep 26, 2019
Update consumer.js
1 parent 6bcdba5 commit 8f546fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/consumer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async function dataHandler(messageSet, topic, partition) {
5151
await updateInformix(message)
5252
await consumer.commitOffset({ topic, partition, offset: m.offset }) // Commit offset only on success
5353
await auditTrail([message.payload.payloadseqid,'scorecard_consumer',message.payload.table,message.payload.Uniquecolumn,
54-
message.payload.operation,1,0,"",message.timestamp,new Date(),message.payload],'consumer')
54+
message.payload.operation,1,0,"",message.timestamp,new Date(),message.payload.data],'consumer')
5555
} catch (err) {
5656
logger.error('Could not process kafka message')
5757
//logger.logFullError(err)

0 commit comments

Comments
 (0)
Please sign in to comment.