Skip to content

Commit

Permalink
Tracking total records in EH connector (#404)
Browse files Browse the repository at this point in the history
- Adds table mapping to Eventhub syncrecords return body for catalog
metrics
  • Loading branch information
Amogh-Bharadwaj authored Sep 21, 2023
1 parent 0e85c76 commit 6126e64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flow/connectors/eventhub/eventhub.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ func (c *EventHubConnector) SyncRecords(req *model.SyncRecordsRequest) (*model.S
FirstSyncedCheckPointID: batch.FirstCheckPointID,
LastSyncedCheckPointID: batch.LastCheckPointID,
NumRecordsSynced: int64(len(batch.Records)),
TableNameRowsMapping: tableNameRowsMapping,
}, nil
}

Expand Down

0 comments on commit 6126e64

Please sign in to comment.