Github user bbende commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1955#discussion_r124821493
--- Diff:
nifi-nar-bundles/nifi-standard-services/nifi-record-serialization-services-bundle/nifi-record-serialization-services/src/main/java/org/apache/nifi/grok/GrokReader.java
---
@@ -74,6 +74,8 @@
"The line of text that does not match the Grok Expression will be
appended to the last field of the prior message.");
static final AllowableValue SKIP_LINE = new
AllowableValue("skip-line", "Skip Line",
"The line of text that does not match the Grok Expression will be
skipped.");
+ static final AllowableValue ROUTE_TO_FAILURE = new
AllowableValue("route-to-failure", "Route to failure",
--- End diff --
Since it is up to the processor using the GrokReader to determine if
something will be routed to failure, should we call this "Failure" or "Produce
Error" or something indicating that reader is going to throw an exception?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---