[
https://issues.apache.org/jira/browse/NIFI-15826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard updated NIFI-15826:
----------------------------------
Fix Version/s: 2.10.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Optimize JSON Property Validator Input Reading
> ----------------------------------------------
>
> Key: NIFI-15826
> URL: https://issues.apache.org/jira/browse/NIFI-15826
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Major
> Fix For: 2.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The {{JsonValidator}} class in {{nifi-json-utils}} creates a new instance of
> the Jackson {{ObjectMapper}} on every invocation, which is very inefficient.
> For JSON validation, the implementation should be simplified to use the
> {{JsonParser}} from {{jackson-core}} instead of {{{}ObjectMapper{}}}. The
> module should also be renamed to {{nifi-json-validator}} clarity.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)