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

Johny Rufus commented on FLUME-2628:
------------------------------------

Hi [~lionel_h], Is it possible to add a test case as part of the 
TestNetcatSource file and include it in the patch. 
Typically for this scenario, it would be good to add one case where a non utf-8 
encoding (utf-16 may be )can be specified for the source, and for input data 
encoded in that format, making sure that the Netcat source decodes it correctly 

> Add an optional parameter to specify the expected input text encoding for the 
> netcat sourcef the netcat source
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: FLUME-2628
>                 URL: https://issues.apache.org/jira/browse/FLUME-2628
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>    Affects Versions: v1.5.1
>            Reporter: Lionel Herbet
>            Priority: Trivial
>              Labels: newbie, patch
>             Fix For: v1.5.2
>
>         Attachments: Netcat_Encoding.patch, 
> test-encoding-flume-ISO8859-1.txt.gz
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Add the 'encoding' configuration parameter to specify the expected text 
> encoding of the netcat source in input.
> This parameter is optional and defaulted to "utf-8" (same value as the one 
> hardcoded before the patch)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to