This option is not available with exec source
Did you try specifying encoding for your source, for example like this:
a1.sources.r1.inputCharset = ISO8859-1 << whatever charset you need>>
I'm trying to put a CSV file into HDFS using flume, file contains some unicode characters also.
Once the file is there in HDFS I tried to view the content, but unable to see the records properly.
Below is the output
Does flume supports Unicode characters? If not how it can be handled?
Flume version is 1.4.0