embulk-output-sftp 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bec4dd06576bca7c200d5abf77f0e195c28d998d
4
- data.tar.gz: 8ded1287e06e19b4adb8696b4bf6550a4a1ee47e
3
+ metadata.gz: 3b60e9f9177d328ee62002c1ebdcb195defa7eb1
4
+ data.tar.gz: ca9c05c13f8095ca39e4b951c62e6179054cc970
5
5
  SHA512:
6
- metadata.gz: 87a454091a32f4f69c52eabd50a092638bf944edd763d857d2a357c7d11a1375d8bcd92204adeae5cda278549634b6ccfd8b8f7c4ccadd17a8aa89ca4c0c28c6
7
- data.tar.gz: 06a421bcea79c0c438f108c20a49a400bac18a1ec914d11d1b4bc5dff182a09401cfeeb31471c70aa861a76baa5374ce2d21d0a8007b2f25aba7910f899391b9
6
+ metadata.gz: 08a86e8657aee83ccb8b16c465ae9cfdb12f17351ee2f546199c3f087b4c589214847f66c293d846f1e582e85ccef2683c82254c96f403b8c82ba82a4a7a8426
7
+ data.tar.gz: 04b6d71aea96667779340171de9e78c0a25b84bcdd8758def6f7c99e628cdd7f83121d402d3294ea6e30621fab057f60a4926f2bb4e3487dd30f5b98f7650e9c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ 0.1.8 (2018-03-20)
2
+ - Change input stream buffer size to 32MB to reduce number of storage reads
3
+ - https://github.com/embulk/embulk-output-sftp/pull/47
1
4
  0.1.7 (2018-03-14)
2
5
  - Enhance: Upload with ".tmp" suffix and rename file name after upload
3
6
  - https://github.com/embulk/embulk-output-sftp/pull/43
data/README.md CHANGED
@@ -23,6 +23,7 @@ Stores files on a SFTP Server
23
23
  - **path_prefix**: Prefix of output paths (string, required)
24
24
  - **file_ext**: Extension of output files (string, required)
25
25
  - **sequence_format**: Format for sequence part of output files (string, default: `".%03d.%02d"`)
26
+ - **rename_file_after_upload**: Upload `file_ext` + ".tmp" first, then rename it after upload finish (boolean, default: `false`)
26
27
 
27
28
  ### Proxy configuration
28
29
 
data/build.gradle CHANGED
@@ -17,7 +17,7 @@ configurations {
17
17
  }
18
18
 
19
19
  group = "org.embulk.output.sftp"
20
- version = "0.1.7"
20
+ version = "0.1.8"
21
21
  sourceCompatibility = 1.7
22
22
  targetCompatibility = 1.7
23
23
 
@@ -159,7 +159,7 @@ public class SftpUtils
159
159
  BufferedOutputStream outputStream = new BufferedOutputStream(remoteFile.getContent().getOutputStream());
160
160
  ) {
161
161
  logger.info("Uploading to remote sftp file ({} KB): {}", size / 1024, remoteFile.getPublicURIString());
162
- byte[] buffer = new byte[4 * 1024 * 1024]; // 4MB buffer size
162
+ byte[] buffer = new byte[32 * 1024 * 1024]; // 32MB buffer size
163
163
  int len = inputStream.read(buffer);
164
164
  long total = 0;
165
165
  int progress = 0;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-sftp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Civitaspo
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-03-14 00:00:00.000000000 Z
12
+ date: 2018-03-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  requirement: !ruby/object:Gem::Requirement
@@ -78,7 +78,7 @@ files:
78
78
  - classpath/commons-io-2.6.jar
79
79
  - classpath/commons-logging-1.2.jar
80
80
  - classpath/commons-vfs2-2.2.jar
81
- - classpath/embulk-output-sftp-0.1.7.jar
81
+ - classpath/embulk-output-sftp-0.1.8.jar
82
82
  - classpath/jsch-0.1.54.jar
83
83
  homepage: https://github.com/embulk/embulk-output-sftp
84
84
  licenses: