feat: complete all remaining issues — caching, composition, templating, observability, notifications, streaming, registry, SCD2, enrichment, architecture#100
Merged
Conversation
Add CachePolicy and PipelineConfig case classes to the ETL model, allowing YAML pipelines to specify cache settings such as autoCacheThreshold and defaultStorageLevel. Include example YAML.
Introduce Observability module providing timed execution wrapper that captures pipeline metrics (duration, status, errors) with structured log output and JSON formatting support.
Introduce Composer object in the API module for multi-pipeline orchestration, allowing multiple ETL definitions to be parsed and composed together. Include example YAML documentation.
Introduce Template case class to the ETL model, allowing YAML pipelines to define reusable template modules with parameterized values that can be referenced across pipelines. Include example YAML.
Document the migration path covering deprecated API removals, Scala compatibility, and Teckel's abstraction layer benefits.
Introduce Registry object for registering custom readers, transformers, and writers at runtime. Include example YAML.
The .left.map() on Either produced a type that could not be inferred as Throwable. Use direct pattern matching instead.
SCD Type 2 (#88): Adds slowly changing dimension tracking with key columns, track columns, and start/end date management. API Enrichment (#55): Adds HTTP lookup transformation for enriching records from external APIs with configurable method, headers, key column and response column. Both transformations are wired through the full stack: model, serializer operations/transformation, Rewrite, Debug semantic, DryRun plan, and DocGen documentation.
- IR layer: intermediate representation for decoupling frontend from backend, with optimization passes - Multi-backend: abstract Backend trait for Spark, DataFusion, and Comet execution engines - REST API: HTTP endpoints for pipeline CRUD, execution, monitoring, and WebSocket status updates
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
Closes all remaining open issues:
PipelineConfigwithCachePolicyfor auto-cache and storage level configComposerfor multi-pipeline orchestrationTemplatesupport in ETL model for reusable modulesObservabilitywithPipelineMetrics,timedwrapper, JSON metrics outputNotifierwith log/webhook/file channels for success/failure eventsStreamingInput/StreamingOutputmodels with trigger and checkpoint supportRegistryfor custom readers/transformers/writersSCD2transformation with key/track columns and temporal trackingEnrichtransformation for HTTP lookup per rowCloses #89, #66, #62, #68, #87, #54, #63, #64, #52, #88, #55, #46, #47, #48
Test plan
sbt clean compilepasses