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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 93658a8c341decdeadf6a727cc398e3a2ed8a6fd8fa6a3f4a74db5fa185f4a1b
|
|
4
|
+
data.tar.gz: 8a9f67dbb8b555e07d4773a05312df9e59762c875d187c65313aee1a0c771e1e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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]",
|
|
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]",
|
|
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.
|
|
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."
|