keedio / flume-ng-sql-source

Flume Source to import data from SQL Databases
Apache License 2.0
264 stars 164 forks source link

Result set from DB converted to UTF-8 character encoding. #54

Closed lin-yao closed 6 years ago

lin-yao commented 6 years ago

Result set from DB converted to UTF-8 character encoding.

lucarosellini commented 6 years ago

@lin-yao Thanks for the contribution, what do you think if we externalize the character encoding to a property? Something like default.charset=UTF-8 in the agent configuration:

agent.sources.sqlSource.default.charset = UTF-8
lin-yao commented 6 years ago

@Luca Rosellini:

That’s a better way. Thanks for your attention.

在 2018年4月9日,14:51,Luca Rosellini notifications@github.com<mailto:notifications@github.com> 写道:

@lin-yaohttps://github.com/lin-yao Thanks for the contribution, what do you think if we externalize the character encoding to a property? Something like default.charset=UTF-8 in the agent configuration:

agent.sources.sqlSource.default.charset = UTF-8

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/keedio/flume-ng-sql-source/pull/54#issuecomment-379652449, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALFw_WHAnyAZZQS-B0AWQTHFSyPG1VhKks5tmwUPgaJpZM4TJcmO.