[ 
https://issues.apache.org/jira/browse/NIFI-4802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16552089#comment-16552089
 ] 

ASF GitHub Bot commented on NIFI-4802:
--------------------------------------

Github user jvwing commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2859#discussion_r204246953
  
    --- Diff: 
nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/sqs/PutSQS.java
 ---
    @@ -57,6 +59,14 @@
             + "the Message Attribute and value will become the value of the 
Message Attribute", expressionLanguageScope = 
ExpressionLanguageScope.FLOWFILE_ATTRIBUTES)
     public class PutSQS extends AbstractSQSProcessor {
     
    +    public static final PropertyDescriptor CHARSET = new 
PropertyDescriptor.Builder()
    --- End diff --
    
    PutSQS.CHARSET appears similar to GetSQS.CHARSET.  Can this property 
descriptor be moved to AbstractSQSProcessor and shared?


> PutSQS not UTF-8 encoding output
> --------------------------------
>
>                 Key: NIFI-4802
>                 URL: https://issues.apache.org/jira/browse/NIFI-4802
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.4.0
>         Environment: OSX, Linux
>            Reporter: Richard St. John
>            Priority: Major
>
> PutSQS processor does not properly encode content.  Line 117 reads, 
> {code:java}
> final string flowFileContent = baos.toString();
> {code}
> Instead, the output stream should default to UTF-8, or have a configuration 
> similar to GetSQS.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to