feat: Add the FDv2 data system configuration API - #193
Draft
beekld wants to merge 5 commits into
Draft
Conversation
beekld
force-pushed
the
bklimt/SDK-2873/fdv2-config-api
branch
from
August 10, 2026 18:41
732e80a to
67f72e9
Compare
beekld
force-pushed
the
bklimt/SDK-2873/fdv2-config-api
branch
from
August 10, 2026 18:46
67f72e9 to
f4cd8d6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the public API for configuring an FDv2 data system and selecting it over the FDv1 data source.
ConfigBuilder::data_systemtakes aDataSystemBuilderand, when set, supersedes the FDv1data_source. It is ignored in offline or daemon mode.DataSystemBuilder::default()provides the recommended setup, whilecustom()lets the caller assemble the sources and FDv1 fallback explicitly and tune the fallback and recovery timeouts.FDv2StreamingBuilderandFDv2PollingBuilderconfigure individual sources, each with abase_urloverride.The builders are public, while the factory and per-source configuration traits behind them stay internal.