Skip to content

Commit

Permalink
add one more useful log
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Nov 7, 2023
1 parent e7893aa commit e98dbaf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flow/connectors/eventhub/eventhub.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ func (c *EventHubConnector) processBatch(
}
}

log.WithFields(log.Fields{
"flowName": flowJobName,
}).Infof("processed %d records for sending", numRecords)

err := flushBatch()
if err != nil {
return 0, err
Expand Down

0 comments on commit e98dbaf

Please sign in to comment.