fluent-plugin-gcloud-pubsub-custom 0.3.3 → 0.3.4.pre
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 87e0242aec786f1963f7c1591779834c6e9aa24b
|
|
4
|
+
data.tar.gz: 9d79282d546582ff6f7f3a764411b8932c9965a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bac13ad67cced2f8284b588e8cab7b1cf93444cce759c3d1d24c55d80fcccb3ad29804998502dea02d237ff9fde4a030e47766eb144854526cbffb24d7a069b2
|
|
7
|
+
data.tar.gz: a7bf1b6f604783e5013ab9dc309e7c7f0100c2395cd1668d94c2a208ea121c84bf9168d9a3263005ae098efa8ab4077b9ee8d26fc755cd6d092a125f768d0805
|
|
@@ -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.4.pre"
|
|
11
11
|
gem.authors = ["Yoshihiro MIYAI"]
|
|
12
12
|
gem.email = "msparrow17@gmail.com"
|
|
13
13
|
gem.has_rdoc = false
|
|
@@ -117,6 +117,7 @@ module Fluent
|
|
|
117
117
|
@subscriber = Fluent::GcloudPubSub::Subscriber.new @project, @key, @topic, @subscription
|
|
118
118
|
log.debug "connected subscription:#{@subscription} in project #{@project}"
|
|
119
119
|
|
|
120
|
+
@emit_guard = Mutex.new
|
|
120
121
|
@stop_subscribing = false
|
|
121
122
|
@subscribe_threads = []
|
|
122
123
|
@pull_threads.times do
|
|
@@ -207,7 +208,12 @@ module Fluent
|
|
|
207
208
|
end
|
|
208
209
|
end
|
|
209
210
|
end
|
|
210
|
-
|
|
211
|
+
|
|
212
|
+
# There are some output plugins not to supposed to be called with multi-threading.
|
|
213
|
+
# Maybe remove in the future.
|
|
214
|
+
@emit_guard.synchronize do
|
|
215
|
+
router.emit_stream(@tag, es)
|
|
216
|
+
end
|
|
211
217
|
end
|
|
212
218
|
end
|
|
213
219
|
end
|
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.4.pre
|
|
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-12-
|
|
11
|
+
date: 2016-12-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|
|
@@ -136,9 +136,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
136
136
|
version: '0'
|
|
137
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
requirements:
|
|
139
|
-
- - "
|
|
139
|
+
- - ">"
|
|
140
140
|
- !ruby/object:Gem::Version
|
|
141
|
-
version:
|
|
141
|
+
version: 1.3.1
|
|
142
142
|
requirements: []
|
|
143
143
|
rubyforge_project:
|
|
144
144
|
rubygems_version: 2.5.1
|