Github user charlesporter commented on a diff in the pull request: https://github.com/apache/nifi/pull/2411#discussion_r164561259 --- Diff: nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ExtractGrok.java --- @@ -142,10 +194,11 @@ .description("FlowFiles are routed to this relationship when no provided Grok Expression matches the content of the FlowFile") .build(); + private final static List<PropertyDescriptor> descriptors; private final static Set<Relationship> relationships; - private volatile Grok grok = new Grok(); + private volatile List<Grok> grokList = new ArrayList<>(); --- End diff -- ok, i will create a new list. In practice, it is never modified while running multi-threaded. but it is an easy and computationally cheap fix for safer code.
---