@@ -283,7 +283,7 @@ func (a *FlowableActivity) CreateNormalizedTable(
283283
284284func (a * FlowableActivity ) SyncFlow (
285285 ctx context.Context ,
286- config * protos.FlowConnectionConfigs ,
286+ config * protos.FlowConnectionConfigsCore ,
287287 options * protos.SyncFlowOptions ,
288288) error {
289289 var currentSyncFlowNum atomic.Int32
@@ -414,7 +414,7 @@ func (a *FlowableActivity) SyncFlow(
414414
415415func (a * FlowableActivity ) syncRecords (
416416 ctx context.Context ,
417- config * protos.FlowConnectionConfigs ,
417+ config * protos.FlowConnectionConfigsCore ,
418418 options * protos.SyncFlowOptions ,
419419 srcConn connectors.CDCPullConnector ,
420420 normRequests * concurrency.LastChan ,
@@ -461,7 +461,7 @@ func (a *FlowableActivity) syncRecords(
461461
462462func (a * FlowableActivity ) syncPg (
463463 ctx context.Context ,
464- config * protos.FlowConnectionConfigs ,
464+ config * protos.FlowConnectionConfigsCore ,
465465 options * protos.SyncFlowOptions ,
466466 srcConn connectors.CDCPullPgConnector ,
467467 normRequests * concurrency.LastChan ,
@@ -905,14 +905,14 @@ func (a *FlowableActivity) ScheduledTasks(ctx context.Context) error {
905905}
906906
907907type flowInformation struct {
908- config * protos.FlowConnectionConfigs
908+ config * protos.FlowConnectionConfigsCore
909909 updatedAt time.Time
910910 workflowID string
911911}
912912
913913type metricsFlowMetadata struct {
914914 updatedAt time.Time
915- config * protos.FlowConnectionConfigs
915+ config * protos.FlowConnectionConfigsCore
916916 name string
917917 workflowID string
918918 sourcePeerName string
@@ -1129,7 +1129,7 @@ func (a *FlowableActivity) getFlowsForMetrics(ctx context.Context) ([]metricsFlo
11291129
11301130 infos , err := pgx .CollectRows (rows , func (row pgx.CollectableRow ) (metricsFlowMetadata , error ) {
11311131 f := metricsFlowMetadata {
1132- config : & protos.FlowConnectionConfigs {},
1132+ config : & protos.FlowConnectionConfigsCore {},
11331133 }
11341134 var configProto []byte
11351135 if err := rows .Scan (
@@ -1191,7 +1191,7 @@ func (a *FlowableActivity) RecordSlotSizes(ctx context.Context) error {
11911191 return flowInformation {}, err
11921192 }
11931193
1194- var config protos.FlowConnectionConfigs
1194+ var config protos.FlowConnectionConfigsCore
11951195 if err := proto .Unmarshal (configProto , & config ); err != nil {
11961196 return flowInformation {}, err
11971197 }
@@ -1543,7 +1543,7 @@ func (a *FlowableActivity) ReplicateXminPartition(ctx context.Context,
15431543 }
15441544}
15451545
1546- func (a * FlowableActivity ) AddTablesToPublication (ctx context.Context , cfg * protos.FlowConnectionConfigs ,
1546+ func (a * FlowableActivity ) AddTablesToPublication (ctx context.Context , cfg * protos.FlowConnectionConfigsCore ,
15471547 additionalTableMappings []* protos.TableMapping ,
15481548) error {
15491549 ctx = context .WithValue (ctx , shared .FlowNameKey , cfg .FlowJobName )
@@ -1571,7 +1571,7 @@ func (a *FlowableActivity) AddTablesToPublication(ctx context.Context, cfg *prot
15711571
15721572func (a * FlowableActivity ) RemoveTablesFromPublication (
15731573 ctx context.Context ,
1574- cfg * protos.FlowConnectionConfigs ,
1574+ cfg * protos.FlowConnectionConfigsCore ,
15751575 removedTablesMapping []* protos.TableMapping ,
15761576) error {
15771577 ctx = context .WithValue (ctx , shared .FlowNameKey , cfg .FlowJobName )
@@ -1599,7 +1599,7 @@ func (a *FlowableActivity) RemoveTablesFromPublication(
15991599
16001600func (a * FlowableActivity ) RemoveTablesFromRawTable (
16011601 ctx context.Context ,
1602- cfg * protos.FlowConnectionConfigs ,
1602+ cfg * protos.FlowConnectionConfigsCore ,
16031603 tablesToRemove []* protos.TableMapping ,
16041604) error {
16051605 ctx = context .WithValue (ctx , shared .FlowNameKey , cfg .FlowJobName )
@@ -1647,7 +1647,7 @@ func (a *FlowableActivity) RemoveTablesFromRawTable(
16471647
16481648func (a * FlowableActivity ) RemoveTablesFromCatalog (
16491649 ctx context.Context ,
1650- cfg * protos.FlowConnectionConfigs ,
1650+ cfg * protos.FlowConnectionConfigsCore ,
16511651 tablesToRemove []* protos.TableMapping ,
16521652) error {
16531653 removedTables := make ([]string , 0 , len (tablesToRemove ))
@@ -1768,7 +1768,7 @@ func (a *FlowableActivity) GetFlowMetadata(
17681768 }, nil
17691769}
17701770
1771- func (a * FlowableActivity ) UpdateCDCConfigInCatalogActivity (ctx context.Context , cfg * protos.FlowConnectionConfigs ) error {
1771+ func (a * FlowableActivity ) UpdateCDCConfigInCatalogActivity (ctx context.Context , cfg * protos.FlowConnectionConfigsCore ) error {
17721772 return internal .UpdateCDCConfigInCatalog (ctx , a .CatalogPool , internal .LoggerFromCtx (ctx ), cfg )
17731773}
17741774
0 commit comments