Skip to content

feat: Add the FDv1 adapter synchronizer - #192

Draft
beekld wants to merge 1 commit into
bklimt/SDK-2865/fdv1-fallback-directivefrom
bklimt/SDK-2872/fdv1-adapter-synchronizer
Draft

feat: Add the FDv1 adapter synchronizer#192
beekld wants to merge 1 commit into
bklimt/SDK-2865/fdv1-fallback-directivefrom
bklimt/SDK-2872/fdv1-adapter-synchronizer

Conversation

@beekld

@beekld beekld commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Gives the FDv1 fallback an implementation: an adapter that runs an existing FDv1 DataSource and turns its store writes into FDv2 change sets. A full store initialization becomes a full change set and an individual upsert becomes a partial one. A permanent FDv1 initialization failure surfaces to the orchestrator as a terminal error.

The fallback source is built once and re-subscribed on each activation, rather than rebuilt, because the FDv1 data source factory is not Send + Sync and cannot be captured in the synchronizer factory. Re-subscribing is safe, since each subscription starts a fresh stream or poll loop.

@beekld
beekld force-pushed the bklimt/SDK-2872/fdv1-adapter-synchronizer branch from 2a693c3 to 97480dc Compare August 10, 2026 18:41
@beekld
beekld force-pushed the bklimt/SDK-2872/fdv1-adapter-synchronizer branch from 97480dc to 960713d Compare August 10, 2026 18:46
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.

1 participant