-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: support pipeline extensions in pipeline config #3299
ENH: support pipeline extensions in pipeline config #3299
Conversation
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
…config Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
I would not say this is a restriction. This is the design. Using this here is stating that we want it to be the override. |
@@ -28,6 +30,11 @@ public class PipelinesDataFlowModel { | |||
@JsonInclude(JsonInclude.Include.NON_NULL) | |||
private DataPrepperVersion version; | |||
|
|||
@JsonProperty("pipeline_extensions") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In #2590 this is proposed as pipeline_configurations
. I tend to think that we should keep this original name.
There are a couple reasons:
- Extensions are intended for extending Data Prepper. Thus, extensions may need to run before parsing a pipeline configuration.
- The available options in
pipeline_configurations
should be somewhat different from theextensions
. Not everything in extensions should be configurable in the pipeline.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will rename this part
private final Map<String, Object> extensionMap; | ||
|
||
@Inject | ||
public ExtensionPluginConfigurationResolver(final DataPrepperConfiguration dataPrepperConfiguration, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As noted in another comment, we should not tie extensions configurations directly with pipeline configurations. Can we decouple these somewhat?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind if I do it in the other PR: #3340. There has been some tweaks on the interface
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That seems reasonable.
Signed-off-by: George Chen <[email protected]>
…ct#3299) Signed-off-by: George Chen <[email protected]>
Description
This PR adds support of pipeline_extensions in pipelines configuration file with the following restriction:
Issues Resolved
Resolves #[Issue number to be closed when this PR is merged]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.