fluent-plugin-aws-sqs 1.0.18 → 1.0.19

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: 3c00044fd65f8dabf2aad93574b77fd6a03e0f32922859ba9c0bc078980cf220
4
- data.tar.gz: '09f77b172971892a9d924ebc56366151c47c7431ba60bee8a0e39b38d3f76124'
3
+ metadata.gz: e4bec443974313ae4a023598fcbbc6b42a4b5fb35931371e4676313ffa39126c
4
+ data.tar.gz: e98c14f5264e75a090a962d137228672332c870239667cd155af33cd9d00c789
5
5
  SHA512:
6
- metadata.gz: 9a5625444357a4586c845ad318e9b72061f6e1eb997ad99c214b468eccba5a94128c03238ec0ebf236a6e690e4e973ebd15a4a1a00a6377d80303980422b51e7
7
- data.tar.gz: c26962ad5b49b1a391430ba58dff4ca576614e7a5f42aaa9ece6d5d560088ec25ff29d079fd65ae6c8463c2943c53c244f9b971bbe413f39fe82f68491006535
6
+ metadata.gz: 557fb6f2ac402084d2dbc2e0006471abe2aeab8b7b1ae95d9f6378cb2aebc9806ec0d80ce48ef532d9abf6df9975a9e6ea52d575b6a0222cba588555361c74bf
7
+ data.tar.gz: 6348d0cf2d5b0cb390afa8a66948d79ffba475f450f3caece2288e11c06274a445bd29bf107592412e315b9ebe3d23ca87f64d74e8ab009e3d5016dff4906c07
@@ -84,15 +84,12 @@ module Fluent::Plugin
84
84
  'queue_url' => message.queue_url.to_s,
85
85
  'all_obj' => message.attributes.to_s,
86
86
  'all_obj2' => message.message_attributes.to_s,
87
- 'all_obj3' => message.message_attributes["String"].to_s
87
+ 'all_obj3' => message.message_attributes["Component"].to_s
88
88
  }
89
89
 
90
90
  if @attribute_name_to_extract.to_s.strip.length > 0
91
- print message.attributes[@attribute_name_to_extract].to_s
92
- print message.attributes['Component'].to_s
93
- print message.attributes['component'].to_s
94
-
95
- record[@attribute_name_to_extract] = message.attributes[@attribute_name_to_extract].to_s
91
+
92
+ record[@attribute_name_to_extract] = message.message_attributes[@attribute_name_to_extract].to_s
96
93
  record['testing'] = message.attributes['Component'].to_s
97
94
  record['testing2'] = message.attributes['component'].to_s
98
95
  end
@@ -1,3 +1,3 @@
1
1
  module SQS
2
- VERSION = "1.0.18"
2
+ VERSION = "1.0.19"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-aws-sqs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.18
4
+ version: 1.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shai Moria