[
https://issues.apache.org/jira/browse/NIFI-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Savitsky updated NIFI-5937:
--------------------------------
Description:
PutElasticsearchHttpRecord line 348:
{code:java}
json.append(out.toString());
{code}
This results in the conversion being done using system default encoding,
possibly garbling non-ASCII characters in the output. Should use the encoding
configured in the processor in the toString call.
As a workaround, the "file.encoding" system property can be specified
explicitly in the bootstrap.conf:
{code:java}
java.arg.7=-Dfile.encoding=UTF-8{code}
was:
PutElasticsearchHttpRecord line 348:
{code:java}
json.append(out.toString());
{code}
Should use the encoding configured in the processor in the toString call.
> PutElasticsearchHttpRecord uses system default encoding
> -------------------------------------------------------
>
> Key: NIFI-5937
> URL: https://issues.apache.org/jira/browse/NIFI-5937
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.8.0
> Reporter: Alex Savitsky
> Priority: Major
> Time Spent: 1h
> Remaining Estimate: 0h
>
> PutElasticsearchHttpRecord line 348:
> {code:java}
> json.append(out.toString());
> {code}
> This results in the conversion being done using system default encoding,
> possibly garbling non-ASCII characters in the output. Should use the encoding
> configured in the processor in the toString call.
> As a workaround, the "file.encoding" system property can be specified
> explicitly in the bootstrap.conf:
> {code:java}
> java.arg.7=-Dfile.encoding=UTF-8{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)