feat: plugin registry, list commands, and 5 tutorials#13
Merged
Conversation
Plugin Registry: - PluginLoader: scans ~/.weaver/plugins/ for external JARs at startup - InstallCommand: weaver install connector-kafka (Maven Central or local JAR) - ListCommand: weaver list connectors/transforms/plugins/all - Shorthands for official connectors (connector-kafka, connector-mongodb, etc.) Tutorials (5 complete pipelines with sample data): 1. CSV to Parquet: File I/O, SQL transforms, quality checks 2. Multi-source Join: parallel DAG, aggregation, JSON output 3. RAG Pipeline: document chunking for vector search 4. LLM Classification: Gemini/Ollama ticket classification 5. Production ETL: PostgreSQL → DeltaLake with connections, profiles, merge README updated with tutorials table, plugin registry docs, and new CLI commands.
Explains what META-INF/services files are, shows project structure, and clarifies that the file goes inside the connector project, not in Data Weaver itself.
…rojects New command: weaver scaffold <type> <name> Connector scaffolding: weaver scaffold connector my-redis --type source weaver scaffold connector my-api --type both Generates: build.sbt, SourceConnector/SinkConnector with TODOs, ServiceLoader registration, tests, README, .gitignore Transform scaffolding: weaver scaffold transform my-custom Generates: build.sbt, TransformPlugin with TODO, ServiceLoader Private registry scaffolding: weaver scaffold registry my-company-connectors Generates: connectors/ dir, registry.yaml catalog, install.sh for team-wide installation Zero manual setup — ServiceLoader files, package structure, and build config are all generated automatically.
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
Plugin Registry
PluginLoader: scans~/.weaver/plugins/for external JARs at startupweaver install connector-kafka— download from Maven Centralweaver install /path/to/connector.jar— install local JARweaver list connectors/transforms/plugins/allTutorials (5 complete pipelines)
README
Test plan
sbt compile— all modules compileweaver list allshows connectors and transforms