Skip to content

destination-async-framework: make emission of state from FlushWorkers synchronized - #35144

Merged
Subodh Chaturvedi (subodh1810) merged 6 commits into
masterfrom
state-emission-async-framework-synchronized
Feb 12, 2024
Merged

Subodh Chaturvedi (subodh1810) merged 6 commits into
masterfrom
state-emission-async-framework-synchronized

Conversation

@subodh1810

Copy link
Copy Markdown
Contributor

There is no issue for this. While investigating order of state messages issue (see slack thread, point number 3) I realised that the emitStateMessages in the FlushWorkers class can be called from multiple threads, as a result it can be executed in parallel and write state messages via outputRecordCollector.accept(message); in parallel. This can result in platform receiving the state message out of order.

@vercel

vercel Bot commented Feb 12, 2024 •

Copy link
Copy Markdown

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

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2024 6:15pm

@subodh1810

Subodh Chaturvedi (subodh1810) commented Feb 12, 2024 •

Copy link
Copy Markdown
Contributor Author

/publish-java-cdk

🕑 https://github.com/airbytehq/airbyte/actions/runs/7875466417
✅ Successfully published Java CDK version=0.20.2!

This branch was successfully deployed

1 active deployment
Preview — 3bd30572 Deployed Feb 12, 2024 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/connectors Connector related issues area/documentation Improvements or additions to documentation CDK Connector Development Kit connectors/destination/bigquery connectors/destination/snowflake

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants