fluent-plugin-bigquery 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d5c5c4c032cb59ce091ee060626af2ea9bbd8534
4
- data.tar.gz: b855c668df1fc15bcad1c190cf9302130fbb795b
3
+ metadata.gz: 2028a3a22b1855688a3dbda29c3f14d686c7a564
4
+ data.tar.gz: cba6fc467f68c821af6aa1a8b87e6ae128e9cb15
5
5
  SHA512:
6
- metadata.gz: cdbd49d80dae34d63cf801da15944511533fb6497b93c39df05b3cfb6554b4145570500eb13ee6af861ca962fa3988f90fdfd214f937b8a9074a650a949f61f1
7
- data.tar.gz: 0fc2e0eb63a76f5017205b8885ec9f51dfb2998f4373dfd3c6f542282a975cfb7d35f53db66cde443417273876dfe905449256d86694e18159134d1c6507464a
6
+ metadata.gz: 643b083672144627b15a5e822acc57e2180acc63aa5428474ad1953db5a8286211dc222f6b7d6c0c005d5c50f2b4c48abab2bae1fe2e6d3ca6562dc12258b164
7
+ data.tar.gz: 97dee7b14e15a3e4663722c91f58b18b037f13839284873dfbffe434fce694112e938899703b2ceb805a4fdbba17a2c1e2a62d2c3b6cf47a2bfcf950c233211e
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [Fluentd](http://fluentd.org) output plugin to load/insert data into Google BigQuery.
4
4
 
5
5
  * insert data over streaming inserts
6
- * for continuous real-time insertions, under many limitations
6
+ * for continuous real-time insertions
7
7
  * https://developers.google.com/bigquery/streaming-data-into-bigquery#usecases
8
8
  * (NOT IMPLEMENTED) load data
9
9
  * for data loading as batch jobs, for big amount of data
@@ -203,34 +203,6 @@ where /path/to/httpd.schema is a path to the JSON-encoded schema file which you
203
203
  NOTE: Since JSON does not define how to encode data of TIMESTAMP type,
204
204
  you are still recommended to specify JSON types for TIMESTAMP fields as "time" field does in the example.
205
205
 
206
-
207
- ### patches
208
-
209
- This plugin depends on `fluent-plugin-buffer-lightening`, and it includes monkey patch module for BufferedOutput plugin, to realize high rate and low latency flushing. With this patch, sub 1 second flushing available.
210
-
211
- To use this feature, execute fluentd with `-r fluent/plugin/output_try_flush_interval_patch` option.
212
- And configure `flush_interval` and `try_flush_interval` with floating point value.
213
-
214
- ```apache
215
- <match dummy>
216
- type bigquery
217
-
218
- method insert # default
219
-
220
- flush_interval 0.2
221
- try_flush_interval 0.05
222
-
223
- buffer_chunk_records_limit 300 # default rate limit for users is 100
224
- buffer_queue_limit 10240 # 1MB * 10240 -> 10GB!
225
-
226
- num_threads 16
227
-
228
- # credentials, project/dataset/table and schema specs.
229
- </match>
230
- ```
231
-
232
- With this configuration, flushing will be done in 0.25 seconds after record inputs in the worst case.
233
-
234
206
  ## TODO
235
207
 
236
208
  * support Load API
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.add_runtime_dependency "fluentd"
25
25
  spec.add_runtime_dependency "fluent-mixin-plaintextformatter", '>= 0.2.1'
26
26
  spec.add_runtime_dependency "fluent-mixin-config-placeholders", ">= 0.2.0"
27
- spec.add_runtime_dependency "fluent-plugin-buffer-lightening"
27
+ spec.add_runtime_dependency "fluent-plugin-buffer-lightening", ">= 0.0.2"
28
28
 
29
29
  spec.add_development_dependency "fluent-plugin-dummydata-producer"
30
30
  end
@@ -1,6 +1,6 @@
1
1
  module Fluent
2
2
  module BigQueryPlugin
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
6
6
 
@@ -8,8 +8,6 @@ require 'fluent/mixin/plaintextformatter'
8
8
  ## TODO: load implementation
9
9
  # require 'fluent/plugin/bigquery/load_request_body_wrapper'
10
10
 
11
- require 'fluent/plugin/output_try_flush_interval_patch'
12
-
13
11
  module Fluent
14
12
  ### TODO: error classes for each api error responses
15
13
  # class BigQueryAPIError < StandardError
@@ -26,7 +24,7 @@ module Fluent
26
24
  config_set_default :flush_interval, 0.25
27
25
  config_set_default :try_flush_interval, 0.05
28
26
 
29
- config_set_default :buffer_chunk_records_limit, 100
27
+ config_set_default :buffer_chunk_records_limit, 5000
30
28
  config_set_default :buffer_chunk_limit, 1000000
31
29
  config_set_default :buffer_queue_limit, 1024
32
30
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-bigquery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-07 00:00:00.000000000 Z
11
+ date: 2014-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: 0.0.2
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: '0'
110
+ version: 0.0.2
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: fluent-plugin-dummydata-producer
113
113
  requirement: !ruby/object:Gem::Requirement