gresockj commented on a change in pull request #5193:
URL: https://github.com/apache/nifi/pull/5193#discussion_r677530656
##########
File path:
nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-restapi-processors/src/main/java/org/apache/nifi/processors/elasticsearch/ElasticsearchRestProcessor.java
##########
@@ -116,7 +117,7 @@ default String getQuery(FlowFile input, ProcessContext
context, ProcessSession s
session.exportTo(input, out);
out.close();
- retVal = out.toString();
+ retVal = out.toString(StandardCharsets.UTF_8);
Review comment:
Whoops, looks like toString(Charset) was introduced in Java 10.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]