feat: pluggable components, IR layer, multi-backend, REST API server#114
Merged
Conversation
Adds a lightweight REST API server using JDK's com.sun.net.httpserver (no extra dependencies). Endpoints: health check, dry-run, doc generation, graph visualization, and YAML validation. Accessible via --server [--port N] CLI flag.
…class-loading registry
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
Pluggable Component System (#112, #113)
Inspired by datastream-connector-engine:
TeckelReader,TeckelTransformer,TeckelWriterwith standardread/transform/writemethodscustom:in YAML delegates to a registered TeckelTransformer plugincomponents:section: Configure readers/transformers/writers by alias with core name or external classIR Layer (#102)
IRNodesealed trait with Scan, Project, Filter, Aggregate, Sort, JoinNode, Sink, TransformIRPlanDAG with topological ordering, fan-out analysis, root/sink queriesIRBuilderconverts existingContext[Asset]toIRPlanOptimizerwith predicate pushdown passMulti-Backend Abstraction (#103)
Backendtrait withexecuteanddryRunmethodsSparkBackendimplementation (bridges to existing semantic layer)DataFusionBackendplaceholder for future integrationconfig.backendfield in YAMLREST API Server (#105)
com.sun.net.httpserver(zero extra deps)--serverflag with optional--port NCloses #102, #103, #105, #112, #113
Test plan
sbt clean compilepasses