Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Sep 5, 2024
1 parent 20e5dcb commit 2a5264f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,7 @@ export const parseKafkaBatch = async (
}

for (const [windowId, events] of Object.entries(parsedMessage.eventsByWindowId)) {
existingMessage.eventsByWindowId[windowId] = existingMessage.eventsByWindowId[windowId] || []
existingMessage.eventsByWindowId[windowId].concat(events)
existingMessage.eventsByWindowId[windowId] = (existingMessage.eventsByWindowId[windowId] || []).concat(events)
}

existingMessage.metadata.rawSize += parsedMessage.metadata.rawSize
Expand Down

0 comments on commit 2a5264f

Please sign in to comment.