Skip to content

Destinations CDK: Add interfaces for operations by responsibility - #38107

Merged
Gireesh Sreepathi (gisripa) merged 1 commit into
masterfrom
cdk-ops-refactor
May 17, 2024
Merged

Gireesh Sreepathi (gisripa) merged 1 commit into
masterfrom
cdk-ops-refactor

Conversation

@gisripa

@gisripa Gireesh Sreepathi (gisripa) commented May 9, 2024 •

Copy link
Copy Markdown
Contributor

What

New interfaces to plug into the existing AsyncStreamConsumer.

image

Review guide

Minor cleanup of Existing code.

  • remove TyperDeduperTransaction.kt and unified the methods to TyperDeduperUtil.kt
  • convert TyperDeduperUtil from class to object

New code.

  • SyncOperation, StreamOperation, StorageOperation (see sequence diagram).
  • Default implementations:
    • DefaultSyncOperation - Sync level orchestration logic
    • AbstractStreamOperation - Stream specific orchestration logic
      • StagingStreamOperation - Concrete implementation accepts SerializableBuffer for all staging destinations
      • StandardStreamOperation - Pass through implementation which using Stream<PartialAirbyteMessage> as the records data type
    • StorageOperation - See reference implementation BigQueryStorageOperation in Destination BigQuery: Adapt to newer interface for Sync operations #38132

User Impact

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

@vercel

vercel Bot commented May 9, 2024 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview May 17, 2024 8:08pm

@octavia-squidington-iii Octavia Squidington III (octavia-squidington-iii) added the CDK Connector Development Kit label May 9, 2024

Gireesh Sreepathi (gisripa) commented May 9, 2024 •

Copy link
Copy Markdown
Contributor Author

@gisripa
Gireesh Sreepathi (gisripa) force-pushed the cdk-ops-refactor branch 2 times, most recently from 726b1fe to 75b2191 Compare May 10, 2024 18:47
@gisripa
Gireesh Sreepathi (gisripa) changed the base branch from master to edgao/catalog_parser_improvements May 10, 2024 23:06
@gisripa
Gireesh Sreepathi (gisripa) changed the base branch from edgao/catalog_parser_improvements to cdk_generation_id May 12, 2024 19:17
@gisripa
Gireesh Sreepathi (gisripa) changed the base branch from cdk_generation_id to gireesh/05-10-Bigquery_cdk_signature_changes May 12, 2024 22:52
@gisripa
Gireesh Sreepathi (gisripa) force-pushed the gireesh/05-10-Bigquery_cdk_signature_changes branch from cf090a7 to 9c0dfc5 Compare May 13, 2024 03:13
@gisripa
Gireesh Sreepathi (gisripa) force-pushed the gireesh/05-10-Bigquery_cdk_signature_changes branch from 9c0dfc5 to 4328f0a Compare May 13, 2024 03:27
@gisripa
Gireesh Sreepathi (gisripa) force-pushed the gireesh/05-10-Bigquery_cdk_signature_changes branch from 4328f0a to 3de0d51 Compare May 13, 2024 16:36
@gisripa
Gireesh Sreepathi (gisripa) force-pushed the gireesh/05-10-Bigquery_cdk_signature_changes branch from 3de0d51 to 6bf8684 Compare May 13, 2024 17:43
Base automatically changed from gireesh/05-10-Bigquery_cdk_signature_changes to master May 13, 2024 18:09
@edgao
Edward Gao (edgao) force-pushed the cdk-ops-refactor branch 2 times, most recently from f40bd48 to e7f388f Compare May 15, 2024 22:28
@gisripa
Gireesh Sreepathi (gisripa) force-pushed the cdk-ops-refactor branch 3 times, most recently from 2f3380f to 4d2fbca Compare May 16, 2024 02:52
@edgao
Edward Gao (edgao) force-pushed the cdk-ops-refactor branch 3 times, most recently from 23be58e to 168f866 Compare May 16, 2024 18:22
@gisripa
Gireesh Sreepathi (gisripa) force-pushed the cdk-ops-refactor branch 3 times, most recently from ee99124 to 130b089 Compare May 16, 2024 19:46
@gisripa Gireesh Sreepathi (gisripa) changed the title Connector operations by responsibility Destinations CDK: Add interfaces for operations by responsibility May 16, 2024
@gisripa
Gireesh Sreepathi (gisripa) force-pushed the cdk-ops-refactor branch 2 times, most recently from 692bc34 to fb905b5 Compare May 16, 2024 23:41
@edgao
Edward Gao (edgao) force-pushed the cdk-ops-refactor branch 3 times, most recently from ae5741a to c8281d5 Compare May 17, 2024 18:47
@gisripa
Gireesh Sreepathi (gisripa) marked this pull request as ready for review May 17, 2024 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CDK Connector Development Kit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants