NIFI-12116 Documented lack of NDJSON support in ValidateJson

This closes #7782

Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
dan-s1 2023-09-22 17:56:27 +00:00 committed by exceptionfactory
parent 099ceec7ed
commit 66b68140e2
No known key found for this signature in database
GPG Key ID: 29B6A52D2AAE8DBA
1 changed files with 4 additions and 1 deletions

View File

@ -65,7 +65,10 @@ import java.util.Set;
@WritesAttribute(attribute = ValidateJson.ERROR_ATTRIBUTE_KEY, description = "If the flow file is routed to the invalid relationship "
+ ", this attribute will contain the error message resulting from the validation failure.")
})
@CapabilityDescription("Validates the contents of FlowFiles against a configurable JSON Schema. See json-schema.org for specification standards.")
@CapabilityDescription("Validates the contents of FlowFiles against a configurable JSON Schema. See json-schema.org for specification standards. " +
"This Processor does not support input containing multiple JSON objects, such as newline-delimited JSON. If the input FlowFile contains " +
"newline-delimited JSON, only the first line will be validated."
)
@SystemResourceConsideration(resource = SystemResource.MEMORY, description = "Validating JSON requires reading FlowFile content into memory")
@Restricted(
restrictions = {