You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "chl-wxp (via GitHub)" <gi...@apache.org> on 2026/04/24 09:56:45 UTC
[I] [Feature][Zeta]Add built-in runtime dynamic MetadataProvider for datasource registration [seatunnel]
chl-wxp opened a new issue, #10816:
URL: https://github.com/apache/seatunnel/issues/10816
### Search before asking
- [x] I had searched in the [feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22) and found no similar feature requirement.
### Description
1
### Usage Scenario
_No response_
### Related issues
_No response_
### Are you willing to submit a PR?
- [x] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][Zeta]Add built-in runtime dynamic MetadataProvider for datasource registration [seatunnel]
Posted by "nzw921rx (via GitHub)" <gi...@apache.org>.
nzw921rx commented on issue #10816:
URL: https://github.com/apache/seatunnel/issues/10816#issuecomment-4312593449
@chl-wxp If the engine is built-in, can it be displayed in the web UI and editable?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][Zeta]Add built-in runtime dynamic MetadataProvider for datasource registration [seatunnel]
Posted by "chl-wxp (via GitHub)" <gi...@apache.org>.
chl-wxp commented on issue #10816:
URL: https://github.com/apache/seatunnel/issues/10816#issuecomment-4313479324
> If the engine is built-in, can it be displayed in the web UI and editable?
Theoretically, it is possible, if there are four interfaces for adding, deleting, modifying and checking
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][Zeta]Add built-in runtime dynamic MetadataProvider for datasource registration [seatunnel]
Posted by "chl-wxp (via GitHub)" <gi...@apache.org>.
chl-wxp commented on issue #10816:
URL: https://github.com/apache/seatunnel/issues/10816#issuecomment-4322069596
> Thanks for writing this up in detail. This is a useful direction, but it should be evaluated as a design topic rather than a small feature PR.
>
> The reason is that the current datasource flow is built around external providers initialized from `seatunnel.yaml` and resolved through the existing `datasource_id` contract during job parsing. A built-in runtime registry for Zeta would add new responsibilities across engine REST, cluster-visible storage, runtime lifecycle, and compatibility.
>
> Before implementation, I think the most important points to make explicit are:
>
> 1. Reuse the existing `datasource_id` contract instead of introducing a second user-facing key like `metadata_datasource_id`, unless there is a very strong compatibility reason. Otherwise we create two ways to express the same concept.
> 2. Clarify whether this is a new built-in provider `kind=dynamic` inside the current DataSource SPI, or an engine-only registry outside the current provider lifecycle. That choice affects initialization, visibility, and future extensibility.
> 3. Define the cluster behavior precisely: where the metadata lives, how it is replicated, how job parsing on any node sees the latest registration, and what happens on master switch or engine restart.
> 4. Be explicit about the credential boundary even in phase 1. This proposal stores credential-bearing datasource properties and exposes write APIs, so authentication/authorization and secret handling cannot stay completely implicit.
> 5. Keep phase 1 minimal. I would suggest focusing first on one clear runtime datasource registry flow rather than expanding immediately into generic metadata management.
>
> If you refine those points, this can become a much stronger design issue for community review. I am adding the `design` label because this crosses API/SPI, Zeta runtime, REST, and compatibility boundaries.
`datasource_id` is just a transitional parameter. Currently, seatunnel no longer supports this parameter and only supports `metadata_datasource_id`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][Zeta]Add built-in runtime dynamic MetadataProvider for datasource registration [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10816:
URL: https://github.com/apache/seatunnel/issues/10816#issuecomment-4323758839
Thanks for the correction. I re-checked the current `dev` branch, and you are right that the current connector-side contract is already `metadata_datasource_id`, including the common option and the Metadata SPI docs.
So the main question here is no longer the public connector key name. The harder part is how the proposed runtime registry fits into the existing Metadata SPI lifecycle.
From the current code path, metadata resolution still happens at job parse time through `MetadataProviderManager`, and providers are initialized and cached from `seatunnel.yaml`. So the most important design points now look like:
1. whether `kind=dynamic` is a normal built-in `MetadataProvider` inside the current SPI, or a separate engine-only registry
2. how cluster-visible storage works so a datasource registered through one Zeta REST node is visible when another node parses the job
3. what happens on master switch or engine restart when `enable_storage = false`
4. whether phase 1 should include at least `GET` / `LIST` in addition to `POST`, because otherwise debugging and operations will be quite hard
5. how credential-bearing properties are protected, even if full secret management is out of scope for phase 1
I think the REST payload can still use `datasource_id` as the server-side record key, as long as the job config side remains consistently `metadata_datasource_id` and we do not introduce a second equivalent connector option.
So I would suggest keeping the next refinement focused on one minimal end-to-end path:
- `seatunnel.metadata.kind = dynamic`
- cluster-visible runtime registry
- `POST` plus at least a read / list path
- resolution through the existing `metadata_datasource_id` parsing flow
That would make the proposal much easier to evaluate and implement incrementally.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][Zeta]Add built-in runtime dynamic MetadataProvider for datasource registration [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #10816:
URL: https://github.com/apache/seatunnel/issues/10816#issuecomment-4317222414
Thanks for writing this up in detail. This is a useful direction, but it should be evaluated as a design topic rather than a small feature PR.
The reason is that the current datasource flow is built around external providers initialized from `seatunnel.yaml` and resolved through the existing `datasource_id` contract during job parsing. A built-in runtime registry for Zeta would add new responsibilities across engine REST, cluster-visible storage, runtime lifecycle, and compatibility.
Before implementation, I think the most important points to make explicit are:
1. Reuse the existing `datasource_id` contract instead of introducing a second user-facing key like `metadata_datasource_id`, unless there is a very strong compatibility reason. Otherwise we create two ways to express the same concept.
2. Clarify whether this is a new built-in provider `kind=dynamic` inside the current DataSource SPI, or an engine-only registry outside the current provider lifecycle. That choice affects initialization, visibility, and future extensibility.
3. Define the cluster behavior precisely: where the metadata lives, how it is replicated, how job parsing on any node sees the latest registration, and what happens on master switch or engine restart.
4. Be explicit about the credential boundary even in phase 1. This proposal stores credential-bearing datasource properties and exposes write APIs, so authentication/authorization and secret handling cannot stay completely implicit.
5. Keep phase 1 minimal. I would suggest focusing first on one clear runtime datasource registry flow rather than expanding immediately into generic metadata management.
If you refine those points, this can become a much stronger design issue for community review. I am adding the `design` label because this crosses API/SPI, Zeta runtime, REST, and compatibility boundaries.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org