Github user JPercivall commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1276#discussion_r90289603
  
    --- Diff: 
nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-processors/src/main/java/org/apache/nifi/processors/elasticsearch/AbstractElasticsearchProcessor.java
 ---
    @@ -28,14 +29,20 @@
     
     import java.util.Collection;
     import java.util.HashSet;
    -import java.util.Map;
     import java.util.Set;
     
     /**
      * A base class for all Elasticsearch processors
      */
     public abstract class AbstractElasticsearchProcessor extends 
AbstractProcessor {
     
    +    protected static final Validator NON_EMPTY_EL_VALIDATOR = (subject, 
value, context) -> {
    --- End diff --
    
    "HOSTNAME_PORT_VALIDATOR" may be good to move to Standard validators too, 
if you two think it could provide value outside the ES processors.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to