logstash-input-google_pubsub_compressed_batches 1.2.4 → 1.2.5

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.

Potentially problematic release.


This version of logstash-input-google_pubsub_compressed_batches might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ad22d8a0840a3f93aff18801d56eb9a8780b329e14ec9277384993f548ff271
4
- data.tar.gz: 2b478dd0da4b7fae2fc8cb828be52377cb79dbfe57d86a3d3dcf7dcdd9634f22
3
+ metadata.gz: 93658a8c341decdeadf6a727cc398e3a2ed8a6fd8fa6a3f4a74db5fa185f4a1b
4
+ data.tar.gz: 8a9f67dbb8b555e07d4773a05312df9e59762c875d187c65313aee1a0c771e1e
5
5
  SHA512:
6
- metadata.gz: c5d8386b4dd522bb45175a11dd0d9c47a9568b83c24cc3ead57edc110b657ba4a66400d72f8749675bd75995a38c44b58fa8576d84afe535fe1114a5e10c39a0
7
- data.tar.gz: f3907a633dda4eee5694e214131753c9a4f0b9696b759dd6a7280ddabb98573f1d53e3e6b174c9ebd2887e874ee83a58c037656e284a3c1f8b44b6b30a602a15
6
+ metadata.gz: 77bd07a7f38be37c8ab8b07f89cbf805efdae31b37bf1b16200375e6c5cac4bea77303120648f394ab1a5a70037a572309973a2a7e559cf8ed3cbd07a8d43516
7
+ data.tar.gz: 88b74105e77cf4aa8dda57819423389908445257e8261ecfb3f95dcc53bbbc607401e8325edc329424da5ce2b4e11d002bea170536ae80e83cd419a3db01f50d
@@ -259,7 +259,7 @@ class LogStash::Inputs::GooglePubSub < LogStash::Inputs::Base
259
259
  when nil
260
260
  @codec.decode(data) do |event|
261
261
  event.set("host", event.get("host") || @host)
262
- event.set("[@metadata][pubsub_message]", metadata) if @include_metadata
262
+ event.set("[@metadata][pubsub_message]", extract_metadata(message)) if @include_metadata
263
263
  decorate(event)
264
264
  queue << event
265
265
  end
@@ -268,7 +268,7 @@ class LogStash::Inputs::GooglePubSub < LogStash::Inputs::Base
268
268
  lines.each do |line|
269
269
  event = LogStash::Event.new(line)
270
270
  event.set("host", event.get("host") || @host)
271
- event.set("[@metadata][pubsub_message]", metadata) if @include_metadata
271
+ event.set("[@metadata][pubsub_message]", extract_metadata(message)) if @include_metadata
272
272
  decorate(event)
273
273
  queue << event
274
274
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-google_pubsub_compressed_batches'
3
- s.version = '1.2.4'
3
+ s.version = '1.2.5'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = "Consume events from a Google Cloud PubSub service. Supports zlib compressed batches"
6
6
  s.description = "This gem is a Logstash input plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-google_pubsub_compressed_batches
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Johnson