Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking total records in EH connector #404

Merged
merged 1 commit into from
Sep 21, 2023
Merged

Conversation

Amogh-Bharadwaj
Copy link
Contributor

@Amogh-Bharadwaj Amogh-Bharadwaj commented Sep 21, 2023

  • Adds table mapping to Eventhub syncrecords return body for catalog metrics

@@ -163,7 +165,7 @@ func (c *EventHubConnector) SyncRecords(req *model.SyncRecordsRequest) (*model.S
log.WithFields(log.Fields{
"flowName": req.FlowJobName,
}).Infof("[total] successfully sent %d records to event hub", rowsSynced)

c.totalRecordsSynced += int(rowsSynced)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
unnecessary conversion (unconvert)

@Amogh-Bharadwaj Amogh-Bharadwaj enabled auto-merge (squash) September 21, 2023 15:36
@Amogh-Bharadwaj Amogh-Bharadwaj merged commit 6126e64 into main Sep 21, 2023
20 checks passed
@serprex serprex deleted the fix-eh-metric branch July 19, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants