Skip to content

Commit 91a4a63

Browse files
committed
v0.1.11
1 parent 6b61c6e commit 91a4a63

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
0.1.11 (2018-08-27)
2+
- Enhance: Add 2 new configs `local_temp_file` (boolean) and `temp_file_threshold` (long)
3+
- https://github.com/embulk/embulk-output-sftp/pull/50
14
0.1.10 (2018-05-07)
25
- Fix: Use java.util.regex.Pattern for host name validation
36
- https://github.com/embulk/embulk-output-sftp/pull/49

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Stores files on a SFTP Server
2424
- **file_ext**: Extension of output files (string, required)
2525
- **sequence_format**: Format for sequence part of output files (string, default: `".%03d.%02d"`)
2626
- **rename_file_after_upload**: Upload `file_ext` + ".tmp" first, then rename it after upload finish (boolean, default: `false`)
27+
- **local_buffering**: Use local temp file to buffer records. If `false`, plugin will buffer records to remote file directly, with ".tmp" as filename suffix (boolean, default: `true`)
28+
- **temp_file_threshold**: Maximum file size of local temp file, plugin will flush (append) to remote file when local temp file reaches threshold (long, default: `5368709120`, ie. 5GiB, min: 50MiB, max: 10GiB)
2729

2830
### Proxy configuration
2931

@@ -53,6 +55,7 @@ out:
5355
path_prefix: /data/sftp
5456
file_ext: _20151020.tsv
5557
sequence_format: ".%01d%01d"
58+
temp_file_threshold: 10737418240 # 10GiB
5659
```
5760
5861
With proxy

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ configurations {
1717
}
1818

1919
group = "org.embulk.output.sftp"
20-
version = "0.1.10"
20+
version = "0.1.11"
2121
sourceCompatibility = 1.7
2222
targetCompatibility = 1.7
2323

0 commit comments

Comments
 (0)