Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore error for catalog monitor for EH (#369)
CDC to Eventhub errors in SyncFlow with 'GetLastSyncBatchID not supported for Eventhub', because in `flowable.go`'s `StartFlow` this method is being called for catalog metrics. Eventhub does not have this method implemented so we can just ignore the error in this section and have sync ID in the metrics start from 0: ```Go if a.CatalogMirrorMonitor.IsActive() && len(records.Records) > 0 { syncBatchID, err := dest.GetLastSyncBatchID(input.FlowConnectionConfigs.FlowJobName) if err != nil && conn.Destination.Type != protos.DBType_EVENTHUB { return nil, err } .... } ```
- Loading branch information