fluent-plugin-gcp_pubsub 0.3.0 → 0.4.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b154ea16bb2cca33ace28e7cc6abc4f73b047361d8939b4e4a2fa87cd9ec71ed
|
4
|
+
data.tar.gz: 1f178db714de111b0c9566d64c215abd5ca50386fb009025ec9004b48e391f05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 490c2f83add12a7e6c766d185802dc23fd3977a3ed1f285036ca9eca112f6c54b38972ff9a3dd546f0970de6e1e7b009a8355b4e3f5e371ee402793df0c04bdc
|
7
|
+
data.tar.gz: d1a7d2772733b09c970ff2f9ff4e631d3aeff3bded6c84140b5546ba0e42867b4b1c50974bc53b074532638b622504c62559ae7ceb09a9bba48a5674ca17705f
|
@@ -34,6 +34,7 @@ require 'date'
|
|
34
34
|
require 'google/apis/pubsub_v1' # td-agent-gem install google-api-client
|
35
35
|
require 'googleauth' # td-agent-gem install googleauth
|
36
36
|
require 'parallel' # td-agent-gem install parallel
|
37
|
+
require 'json'
|
37
38
|
|
38
39
|
module Fluent
|
39
40
|
class GsvsocPubSubOutput < BufferedOutput
|
@@ -79,7 +80,7 @@ module Fluent
|
|
79
80
|
end
|
80
81
|
|
81
82
|
def format(tag, time, record)
|
82
|
-
record.to_json
|
83
|
+
record.to_json
|
83
84
|
end
|
84
85
|
|
85
86
|
def publish(giw = 0, data, attributes)
|