Skip to content

Commit

Permalink
add useful logging
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Feb 8, 2024
1 parent 863452e commit 9470a0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flow/connectors/postgres/cdc.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ func (p *PostgresCDCSource) consumeStream(
shutdown := utils.HeartbeatRoutine(p.ctx, func() string {
jobName := p.flowJobName
currRecords := cdcRecordsStorage.Len()
p.logger.Info(fmt.Sprintf("pulling records for job - %s, currently have %d records", jobName, currRecords))
return fmt.Sprintf("pulling records for job - %s, currently have %d records", jobName, currRecords)
})
defer shutdown()
Expand Down

0 comments on commit 9470a0e

Please sign in to comment.