DanielLeens commented on issue #10923: URL: https://github.com/apache/seatunnel/issues/10923#issuecomment-4498073077
Thanks for the question. At the moment, the built-in `Http` source is oriented around text / JSON responses rather than raw file-stream forwarding. - In the current implementation, the HTTP response body is converted to a `String`. - Without a schema, the source emits a single `content` string column. - With a schema, the connector only supports JSON mapping, not a raw binary stream contract. So: 1. text / JSON HTTP content -> `LocalFile` sink is possible 2. raw binary file download (for example pdf / image / zip) -> `LocalFile` binary sink is **not** a supported end-to-end path today If your target is the second case, please share a concrete example: 1. response type (`pdf`, `image`, `zip`, etc.) 2. expected output layout on disk 3. whether this is needed for batch, streaming, or both That would be better tracked as an enhancement request rather than a bug. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
