fluent-plugin-gcloud-pubsub-custom 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/fluent-plugin-gcloud-pubsub-custom.gemspec +1 -1
- data/lib/fluent/plugin/in_gcloud_pubsub.rb +2 -1
- data/test/plugin/test_in_gcloud_pubsub.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f25ecb2d5cbb67233410e8f0f135806c8f468f9
|
4
|
+
data.tar.gz: 221b6dc52418635005132ed44525ee31be36ea09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb835e78a9b3c976ddc2ab42e36c2849e3d95b7874a23a1127f2c13e151250a5fa318361602d707d9b98191f410827a01ee243ae7accf3d6cac8e5feb81f1534
|
7
|
+
data.tar.gz: 1d01783dd887530dfd52f9de03a2f123139e051faf3c82b0dd195a3f2f1bcbe3c6d625a42fb4f8542b1625997a18e98bb15eef4f0981f01b873246e941854af4
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -120,7 +120,7 @@ Use `gcloud_pubsub` input plugin.
|
|
120
120
|
- See maxMessages on https://cloud.google.com/pubsub/subscriber#receiving-pull-messages
|
121
121
|
- `return_immediately` (optional, default: `true`)
|
122
122
|
- See returnImmediately on https://cloud.google.com/pubsub/subscriber#receiving-pull-messages
|
123
|
-
- If `return_immediately` is `true`
|
123
|
+
- If `return_immediately` is `true` or pulling message is stopped by HTTP RPC, this plugin wait `pull_interval` each pull.
|
124
124
|
- `pull_interval` (optional, default: `5.0`)
|
125
125
|
- Pulling messages by intervals of specified seconds.
|
126
126
|
- `pull_threads` (optional, default: `1`)
|
@@ -7,7 +7,7 @@ Gem::Specification.new do |gem|
|
|
7
7
|
gem.license = "MIT"
|
8
8
|
gem.homepage = "https://github.com/mia-0032/fluent-plugin-gcloud-pubsub-custom"
|
9
9
|
gem.summary = gem.description
|
10
|
-
gem.version = "0.3.
|
10
|
+
gem.version = "0.3.3"
|
11
11
|
gem.authors = ["Yoshihiro MIYAI"]
|
12
12
|
gem.email = "msparrow17@gmail.com"
|
13
13
|
gem.has_rdoc = false
|
@@ -198,7 +198,8 @@ module Fluent
|
|
198
198
|
def process(messages)
|
199
199
|
es = MultiEventStream.new
|
200
200
|
messages.each do |m|
|
201
|
-
|
201
|
+
line = m.message.data.chomp
|
202
|
+
@parser.parse(line) do |time, record|
|
202
203
|
if time && record
|
203
204
|
es.add(time, record)
|
204
205
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-gcloud-pubsub-custom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshihiro MIYAI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|