fluent-plugin-gcp_pubsub 0.3.0 → 0.4.0

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
  SHA256:
3
- metadata.gz: 14f7a012a4c5d3cc20294ee83dec7de9fed043132456c1009d0ee86ca4656395
4
- data.tar.gz: 371db0762590b5c2430c5789b878e0bd6a2dc2cde8ab69559568acd85022eaa2
3
+ metadata.gz: b154ea16bb2cca33ace28e7cc6abc4f73b047361d8939b4e4a2fa87cd9ec71ed
4
+ data.tar.gz: 1f178db714de111b0c9566d64c215abd5ca50386fb009025ec9004b48e391f05
5
5
  SHA512:
6
- metadata.gz: b5a78274b771cc41f352ec503cc1493cecd8ac7377b6f3fd2143cb1c678ee76cc290b1fda3b5dc3c4e4f5a8bee08ddaf7a7908366cdb89d47b7a9f7621082c19
7
- data.tar.gz: 701dafc010345ec88d44bf29cbc1164baceb2027f11052103482c8688a532c37ed4b989243d43167fc7eed72d8489be60dbbac60b6054cf79edfe4ddeef115b5
6
+ metadata.gz: 490c2f83add12a7e6c766d185802dc23fd3977a3ed1f285036ca9eca112f6c54b38972ff9a3dd546f0970de6e1e7b009a8355b4e3f5e371ee402793df0c04bdc
7
+ data.tar.gz: d1a7d2772733b09c970ff2f9ff4e631d3aeff3bded6c84140b5546ba0e42867b4b1c50974bc53b074532638b622504c62559ae7ceb09a9bba48a5674ca17705f
@@ -1,7 +1,7 @@
1
1
  module Fluent
2
2
  module Plugin
3
3
  module GsvsocPubsub
4
- VERSION = "0.3.0"
4
+ VERSION = "0.4.0"
5
5
  end
6
6
  end
7
7
  end
@@ -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.to_s
83
+ record.to_json
83
84
  end
84
85
 
85
86
  def publish(giw = 0, data, attributes)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-gcp_pubsub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - pivelpin