Project: springxd
Issue XD-1742: Remove toStringTransformer from tcp Source; Add Binary Support to the http Source
The TCP source unconditionally converts to String. This prevents binary transfers. Remove the transformer; if the user wants a String; (s)he can use {{tcp --outputType=text/plain;charset=UTF-8}} (assuming the byte stream has valid UTF-8 encoding). Another option would be to add a {{--binary}} option, but since conversion can already handle it, it's probably better to use that. On the other hand, a {{--binary}} option would enable backwards compatibility. The http source also unconditionally converts to String.
Story points: 1