You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fluss.apache.org by "spoon-lz (via GitHub)" <gi...@apache.org> on 2026/10/12 07:44:03 UTC
[I] Support configuring the download directory for remote log segments in the Rust client [fluss]
spoon-lz opened a new issue, #4602:
URL: https://github.com/apache/fluss/issues/4602
### Search before asking
- [x] I searched in the [issues](https://github.com/apache/fluss/issues) and found nothing similar.
### Motivation
The Rust client currently downloads remote log segments under the OS temporary directory without a configurable parent directory. Users may need to place these files on a dedicated disk or mounted volume with sufficient capacity.
The Java client already supports this through `client.scanner.io.tmpdir`. Exposing the corresponding configuration in Rust and its Python and C++ bindings would give users control over where remote log files are downloaded.
### Solution
Add a configurable parent directory for remote log downloads:
- Rust: `Configuration::scanner_io_tmp_dir`
- Python: `Configuration.scanner_io_tmp_dir`, also available through the `scanner.io.tmpdir` configuration key
- C++: `Configuration::scanner_io_tmp_dir`
When unset, use the OS temporary directory with a `fluss` subdirectory, matching the Java client's default.
Each scanner uses a unique `remote-logs-<UUID>` subdirectory. Create the directory when an actual download starts, propagate directory creation failures through the existing download error handling, and clean up the scanner's subdirectory while preserving the configured parent directory.
This change applies only to remote log segment downloads, including changelog scanning for KV tables. KV snapshot downloads are outside the scope of this proposal.
### Anything else?
_No response_
### Willingness to contribute
- [x] I'm willing to submit a PR!
--
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: issues-unsubscribe@fluss.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [rust]Support configuring the download directory for remote log segments in the Rust client [fluss]
Posted by "fresh-borzoni (via GitHub)" <gi...@apache.org>.
fresh-borzoni closed issue #4602: [rust]Support configuring the download directory for remote log segments in the Rust client
URL: https://github.com/apache/fluss/issues/4602
--
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: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org