Skip to content

Commit 02447a1

Browse files
adressed review
1 parent 375d990 commit 02447a1

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

bindings/cpp/src/ffi_converter.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ inline ffi::FfiConfig to_ffi_config(const Configuration& config) {
6161
ffi_config.scanner_log_fetch_wait_max_time_ms = config.scanner_log_fetch_wait_max_time_ms;
6262
ffi_config.scanner_log_fetch_max_bytes_for_bucket = config.scanner_log_fetch_max_bytes_for_bucket;
6363
ffi_config.writer_batch_timeout_ms = config.writer_batch_timeout_ms;
64-
ffi_config.writer_batch_timeout_ms = config.writer_batch_timeout_ms;
6564
ffi_config.connect_timeout_ms = config.connect_timeout_ms;
6665
ffi_config.security_protocol = rust::String(config.security_protocol);
6766
ffi_config.security_sasl_mechanism = rust::String(config.security_sasl_mechanism);

bindings/python/src/config.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,25 +97,25 @@ impl Config {
9797
))
9898
})?;
9999
}
100-
"scanner.log.fetch-max-bytes" => {
100+
"scanner.log.fetch.max-bytes" => {
101101
config.scanner_log_fetch_max_bytes = value.parse::<i32>().map_err(|e| {
102102
FlussError::new_err(format!("Invalid value '{value}' for '{key}': {e}"))
103103
})?;
104104
}
105-
"scanner.log.fetch-min-bytes" => {
105+
"scanner.log.fetch.min-bytes" => {
106106
config.scanner_log_fetch_min_bytes = value.parse::<i32>().map_err(|e| {
107107
FlussError::new_err(format!("Invalid value '{value}' for '{key}': {e}"))
108108
})?;
109109
}
110-
"scanner.log.fetch-wait-max-time-ms" => {
110+
"scanner.log.fetch.wait-max-time-ms" => {
111111
config.scanner_log_fetch_wait_max_time_ms =
112112
value.parse::<i32>().map_err(|e| {
113113
FlussError::new_err(format!(
114114
"Invalid value '{value}' for '{key}': {e}"
115115
))
116116
})?;
117117
}
118-
"scanner.log.fetch-max-bytes-for-bucket" => {
118+
"scanner.log.fetch.max-bytes-for-bucket" => {
119119
config.scanner_log_fetch_max_bytes_for_bucket =
120120
value.parse::<i32>().map_err(|e| {
121121
FlussError::new_err(format!(

website/docs/user-guide/python/example/configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ with await fluss.FlussConnection.create(config) as conn:
3434
| `remote-file.download-thread-num` | Number of threads for remote log downloads | `3` |
3535
| `scanner.remote-log.read-concurrency` | Streaming read concurrency within a remote log file | `4` |
3636
| `scanner.log.max-poll-records` | Max records returned in a single poll() | `500` |
37-
| `scanner.log.fetch-max-bytes` | Maximum bytes per fetch response for LogScanner | `16777216` (16 MB) |
38-
| `scanner.log.fetch-min-bytes` | Minimum bytes the server must accumulate before returning a fetch response | `1` |
39-
| `scanner.log.fetch-wait-max-time-ms` | Maximum time (ms) the server may wait to satisfy min-bytes | `500` |
40-
| `scanner.log.fetch-max-bytes-for-bucket`| Maximum bytes per fetch response per bucket for LogScanner | `1048576` (1 MB) |
37+
| `scanner.log.fetch.max-bytes` | Maximum bytes per fetch response for LogScanner | `16777216` (16 MB) |
38+
| `scanner.log.fetch.min-bytes` | Minimum bytes the server must accumulate before returning a fetch response | `1` |
39+
| `scanner.log.fetch.wait-max-time-ms` | Maximum time (ms) the server may wait to satisfy min-bytes | `500` |
40+
| `scanner.log.fetch.max-bytes-for-bucket`| Maximum bytes per fetch response per bucket for LogScanner | `1048576` (1 MB) |
4141
| `connect-timeout` | TCP connect timeout in milliseconds | `120000` |
4242
| `security.protocol` | `PLAINTEXT` (default) or `sasl` for SASL auth | `PLAINTEXT` |
4343
| `security.sasl.mechanism` | SASL mechanism (only `PLAIN` is supported) | `PLAIN` |

0 commit comments

Comments
 (0)