Github user alopresto commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2973#discussion_r213905518
--- Diff:
nifi-nar-bundles/nifi-site-to-site-reporting-bundle/nifi-site-to-site-reporting-task/src/main/java/org/apache/nifi/reporting/SiteToSiteProvenanceReportingTask.java
---
@@ -151,6 +151,25 @@
.addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
.build();
+ static final PropertyDescriptor FILTER_COMPONENT_NAME = new
PropertyDescriptor.Builder()
+ .name("s2s-prov-task-name-filter")
+ .displayName("Component Name to Include")
+ .description("Regular expression to filter the provenance events
based on the component name. Only the events matching the regular "
+ + "expression will be sent. If no filter is set, all the
events are sent. If multiple filters are set, the filters are cumulative.")
+ .required(false)
+ .addValidator(StandardValidators.REGULAR_EXPRESSION_VALIDATOR)
--- End diff --
Should these properties support Expression Language (Variables Only)? I can
imagine a variable being set with a "component name filter" specific to a
process group. Thoughts?
---