[
https://issues.apache.org/jira/browse/NIFI-12343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17850474#comment-17850474
]
ASF subversion and git services commented on NIFI-12343:
--------------------------------------------------------
Commit cbe5f7db9d678518b9846af1150c9b0e55afae1a in nifi's branch
refs/heads/main from Chris Sampson
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=cbe5f7db9d ]
NIFI-12343 Added Max JSON Field String Length for Elasticsearch
This closes #8881
Signed-off-by: David Handermann <[email protected]>
> PutElasticsearchJson exception with JSON strings over 20 MB
> -----------------------------------------------------------
>
> Key: NIFI-12343
> URL: https://issues.apache.org/jira/browse/NIFI-12343
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.23.2, 2.0.0-M2
> Reporter: Gregory M. Foreman
> Assignee: Chris Sampson
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
>
> PutElasticsearchJson throws an exception when reading JSON documents that
> contain string fields over 20 MB:
> {code:java}
> PutElasticsearchJson[id=xxxx] No FlowFiles successfully parsed for sending to
> Elasticsearch
> PutElasticsearchJson[id=xxxx] Could not read FlowFile content valid JSON.:
> com.fasterxml.jackson.core.exc.StreamConstraintsException: String length
> (20050553) exceeds the maximum length (20000000)
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)