logstash-output-dis 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/com/fasterxml/jackson/core/jackson-annotations/2.9.8/jackson-annotations-2.9.8.jar +0 -0
  3. data/lib/com/fasterxml/jackson/core/jackson-core/2.9.8/jackson-core-2.9.8.jar +0 -0
  4. data/lib/com/fasterxml/jackson/core/jackson-databind/2.9.8/jackson-databind-2.9.8.jar +0 -0
  5. data/{vendor/jar-dependencies/runtime-jars/huaweicloud-dis-kafka-adapter-common-1.2.1.jar → lib/com/huaweicloud/dis/huaweicloud-dis-kafka-adapter-common/1.2.3/huaweicloud-dis-kafka-adapter-common-1.2.3.jar} +0 -0
  6. data/lib/com/huaweicloud/dis/huaweicloud-dis-kafka-adapter/{1.2.1/huaweicloud-dis-kafka-adapter-1.2.1.jar → 1.2.3/huaweicloud-dis-kafka-adapter-1.2.3.jar} +0 -0
  7. data/lib/com/huaweicloud/dis/huaweicloud-sdk-java-dis-iface/{1.3.3/huaweicloud-sdk-java-dis-iface-1.3.3.jar → 1.3.4/huaweicloud-sdk-java-dis-iface-1.3.4.jar} +0 -0
  8. data/{vendor/jar-dependencies/runtime-jars/huaweicloud-sdk-java-dis-1.3.3.jar → lib/com/huaweicloud/dis/huaweicloud-sdk-java-dis/1.3.4/huaweicloud-sdk-java-dis-1.3.4.jar} +0 -0
  9. data/lib/commons-codec/commons-codec/1.11/commons-codec-1.11.jar +0 -0
  10. data/lib/logstash/outputs/dis.rb +6 -0
  11. data/lib/net/jpountz/lz4/lz4/1.3.0/lz4-1.3.0.jar +0 -0
  12. data/lib/org/apache/httpcomponents/httpclient/4.5.7/httpclient-4.5.7.jar +0 -0
  13. data/lib/org/apache/httpcomponents/httpmime/4.5.7/httpmime-4.5.7.jar +0 -0
  14. data/logstash-output-dis.gemspec +2 -2
  15. data/vendor/jar-dependencies/runtime-jars/commons-codec-1.11.jar +0 -0
  16. data/vendor/jar-dependencies/runtime-jars/httpclient-4.5.7.jar +0 -0
  17. data/vendor/jar-dependencies/runtime-jars/httpmime-4.5.7.jar +0 -0
  18. data/vendor/jar-dependencies/runtime-jars/{huaweicloud-dis-kafka-adapter-1.2.1.jar → huaweicloud-dis-kafka-adapter-1.2.3.jar} +0 -0
  19. data/{lib/com/huaweicloud/dis/huaweicloud-dis-kafka-adapter-common/1.2.1/huaweicloud-dis-kafka-adapter-common-1.2.1.jar → vendor/jar-dependencies/runtime-jars/huaweicloud-dis-kafka-adapter-common-1.2.3.jar} +0 -0
  20. data/{lib/com/huaweicloud/dis/huaweicloud-sdk-java-dis/1.3.3/huaweicloud-sdk-java-dis-1.3.3.jar → vendor/jar-dependencies/runtime-jars/huaweicloud-sdk-java-dis-1.3.4.jar} +0 -0
  21. data/vendor/jar-dependencies/runtime-jars/{huaweicloud-sdk-java-dis-iface-1.3.3.jar → huaweicloud-sdk-java-dis-iface-1.3.4.jar} +0 -0
  22. data/vendor/jar-dependencies/runtime-jars/jackson-annotations-2.9.8.jar +0 -0
  23. data/vendor/jar-dependencies/runtime-jars/jackson-core-2.9.8.jar +0 -0
  24. data/vendor/jar-dependencies/runtime-jars/jackson-databind-2.9.8.jar +0 -0
  25. data/vendor/jar-dependencies/runtime-jars/lz4-1.3.0.jar +0 -0
  26. metadata +25 -23
  27. data/lib/com/fasterxml/jackson/core/jackson-annotations/2.8.11/jackson-annotations-2.8.11.jar +0 -0
  28. data/lib/com/fasterxml/jackson/core/jackson-core/2.8.11/jackson-core-2.8.11.jar +0 -0
  29. data/lib/com/fasterxml/jackson/core/jackson-databind/2.8.11.3/jackson-databind-2.8.11.3.jar +0 -0
  30. data/lib/commons-codec/commons-codec/1.9/commons-codec-1.9.jar +0 -0
  31. data/lib/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar +0 -0
  32. data/lib/org/apache/httpcomponents/httpmime/4.5.2/httpmime-4.5.2.jar +0 -0
  33. data/vendor/jar-dependencies/runtime-jars/commons-codec-1.9.jar +0 -0
  34. data/vendor/jar-dependencies/runtime-jars/httpclient-4.5.2.jar +0 -0
  35. data/vendor/jar-dependencies/runtime-jars/httpmime-4.5.2.jar +0 -0
  36. data/vendor/jar-dependencies/runtime-jars/jackson-annotations-2.8.11.jar +0 -0
  37. data/vendor/jar-dependencies/runtime-jars/jackson-core-2.8.11.jar +0 -0
  38. data/vendor/jar-dependencies/runtime-jars/jackson-databind-2.8.11.3.jar +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ee98db25b7754948eff32f950777dd33ddd8347
4
- data.tar.gz: 6f30bd7159cdf8cba37f5813748a79a579709c7b
3
+ metadata.gz: 8a6707cc1217bca62d41dd26c44118f761eb68f4
4
+ data.tar.gz: 1d83814e51db2cef081c8904913096a7b8df6ae7
5
5
  SHA512:
6
- metadata.gz: 33d6c9ce17d5f5db825336742c25fda208d47d937bb265034f2d1131ac2632da5afec2e0b7c4a09f9648445c587b265f5c715aefdd0a7a949c88f959b11af0b8
7
- data.tar.gz: e713b8279b696e49d70ea60b9ec4a8eaa8f92d89d2acc0c7a0e362f20e424272a0e62b18813ef889b1ed2bcab5f92e65ea874b1b21e602e871df21933b461890
6
+ metadata.gz: c0642b9dfa446d873704d1a6abeb10f150cf883fdb279796c0b4caff2dfa08279dbd21521047a17262eb6363ee227afd6cae2123bad1f640e11e625afb0b1917
7
+ data.tar.gz: aeaa490c5e6473a965193417247327b292bc13e980bce9c182bbe64269b6e5970ebc3ae7887812169988aef8b05e8c5e3859b0beb97d1fd583514410adb9a5ef
@@ -25,6 +25,8 @@ class LogStash::Outputs::Dis < LogStash::Outputs::Base
25
25
  config :proxy_workstation, :validate => :string
26
26
  config :proxy_domain, :validate => :string
27
27
  config :proxy_non_proxy_hosts, :validate => :string
28
+ config :body_compress_enabled, :validate => :boolean
29
+ config :body_compress_type, :validate => :string
28
30
 
29
31
  # The producer will attempt to batch records together into fewer requests whenever multiple
30
32
  # records are being sent to the same partition. This helps performance on both the client
@@ -190,6 +192,8 @@ class LogStash::Outputs::Dis < LogStash::Outputs::Base
190
192
  end
191
193
  end.compact
192
194
 
195
+ break
196
+
193
197
  end
194
198
 
195
199
  end
@@ -261,6 +265,8 @@ class LogStash::Outputs::Dis < LogStash::Outputs::Base
261
265
  props.put("backoff.max.interval.ms", backoff_max_interval_ms.to_s)
262
266
  props.put("max.in.flight.requests.per.connection", max_in_flight_requests_per_connection.to_s)
263
267
  props.put("records.retriable.error.code", records_retriable_error_code) unless records_retriable_error_code.nil?
268
+ props.put("body.compress.enabled", body_compress_enabled.to_s) unless body_compress_enabled.nil?
269
+ props.put("body.compress.type", body_compress_type.to_s) unless body_compress_type.nil?
264
270
  props.put("order.by.partition", order_by_partition.to_s)
265
271
  props.put("body.serialize.type", body_serialize_type.to_s)
266
272
  props.put("metadata.timeout.ms", metadata_timeout_ms.to_s)
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-dis'
4
- s.version = '1.1.3'
4
+ s.version = '1.1.4'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Writes events to a DIS stream"
7
7
  s.description = "This gem is a Logstash 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"
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  # Special flag to let us know this is actually a logstash plugin
20
20
  s.metadata = { 'logstash_plugin' => 'true', 'group' => 'output'}
21
21
 
22
- s.requirements << "jar 'com.huaweicloud.dis:huaweicloud-dis-kafka-adapter', '1.2.1'"
22
+ s.requirements << "jar 'com.huaweicloud.dis:huaweicloud-dis-kafka-adapter', '1.2.3'"
23
23
  s.requirements << "jar 'org.slf4j:slf4j-log4j12', '1.7.21'"
24
24
  s.requirements << "jar 'org.apache.logging.log4j:log4j-1.2-api', '2.6.2'"
25
25
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-dis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Data Ingestion Service
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-07 00:00:00.000000000 Z
11
+ date: 2019-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -126,26 +126,27 @@ files:
126
126
  - LICENSE
127
127
  - NOTICE.TXT
128
128
  - README.md
129
- - lib/com/fasterxml/jackson/core/jackson-annotations/2.8.11/jackson-annotations-2.8.11.jar
130
- - lib/com/fasterxml/jackson/core/jackson-core/2.8.11/jackson-core-2.8.11.jar
131
- - lib/com/fasterxml/jackson/core/jackson-databind/2.8.11.3/jackson-databind-2.8.11.3.jar
129
+ - lib/com/fasterxml/jackson/core/jackson-annotations/2.9.8/jackson-annotations-2.9.8.jar
130
+ - lib/com/fasterxml/jackson/core/jackson-core/2.9.8/jackson-core-2.9.8.jar
131
+ - lib/com/fasterxml/jackson/core/jackson-databind/2.9.8/jackson-databind-2.9.8.jar
132
132
  - lib/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar
133
- - lib/com/huaweicloud/dis/huaweicloud-dis-kafka-adapter-common/1.2.1/huaweicloud-dis-kafka-adapter-common-1.2.1.jar
134
- - lib/com/huaweicloud/dis/huaweicloud-dis-kafka-adapter/1.2.1/huaweicloud-dis-kafka-adapter-1.2.1.jar
135
- - lib/com/huaweicloud/dis/huaweicloud-sdk-java-dis-iface/1.3.3/huaweicloud-sdk-java-dis-iface-1.3.3.jar
136
- - lib/com/huaweicloud/dis/huaweicloud-sdk-java-dis/1.3.3/huaweicloud-sdk-java-dis-1.3.3.jar
137
- - lib/commons-codec/commons-codec/1.9/commons-codec-1.9.jar
133
+ - lib/com/huaweicloud/dis/huaweicloud-dis-kafka-adapter-common/1.2.3/huaweicloud-dis-kafka-adapter-common-1.2.3.jar
134
+ - lib/com/huaweicloud/dis/huaweicloud-dis-kafka-adapter/1.2.3/huaweicloud-dis-kafka-adapter-1.2.3.jar
135
+ - lib/com/huaweicloud/dis/huaweicloud-sdk-java-dis-iface/1.3.4/huaweicloud-sdk-java-dis-iface-1.3.4.jar
136
+ - lib/com/huaweicloud/dis/huaweicloud-sdk-java-dis/1.3.4/huaweicloud-sdk-java-dis-1.3.4.jar
137
+ - lib/commons-codec/commons-codec/1.11/commons-codec-1.11.jar
138
138
  - lib/commons-io/commons-io/2.4/commons-io-2.4.jar
139
139
  - lib/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
140
140
  - lib/joda-time/joda-time/2.8.1/joda-time-2.8.1.jar
141
141
  - lib/log4j/log4j/1.2.17/log4j-1.2.17.jar
142
142
  - lib/logstash-output-dis_jars.rb
143
143
  - lib/logstash/outputs/dis.rb
144
+ - lib/net/jpountz/lz4/lz4/1.3.0/lz4-1.3.0.jar
144
145
  - lib/org/apache/httpcomponents/httpasyncclient/4.1.3/httpasyncclient-4.1.3.jar
145
- - lib/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar
146
+ - lib/org/apache/httpcomponents/httpclient/4.5.7/httpclient-4.5.7.jar
146
147
  - lib/org/apache/httpcomponents/httpcore-nio/4.4.6/httpcore-nio-4.4.6.jar
147
148
  - lib/org/apache/httpcomponents/httpcore/4.4.4/httpcore-4.4.4.jar
148
- - lib/org/apache/httpcomponents/httpmime/4.5.2/httpmime-4.5.2.jar
149
+ - lib/org/apache/httpcomponents/httpmime/4.5.7/httpmime-4.5.7.jar
149
150
  - lib/org/apache/logging/log4j/log4j-1.2-api/2.6.2/log4j-1.2-api-2.6.2.jar
150
151
  - lib/org/apache/logging/log4j/log4j-api/2.6.2/log4j-api-2.6.2.jar
151
152
  - lib/org/apache/logging/log4j/log4j-core/2.6.2/log4j-core-2.6.2.jar
@@ -154,26 +155,27 @@ files:
154
155
  - lib/org/xerial/snappy/snappy-java/1.1.7.2/snappy-java-1.1.7.2.jar
155
156
  - logstash-output-dis.gemspec
156
157
  - spec/unit/outputs/dis_spec.rb
157
- - vendor/jar-dependencies/runtime-jars/commons-codec-1.9.jar
158
+ - vendor/jar-dependencies/runtime-jars/commons-codec-1.11.jar
158
159
  - vendor/jar-dependencies/runtime-jars/commons-io-2.4.jar
159
160
  - vendor/jar-dependencies/runtime-jars/commons-logging-1.2.jar
160
161
  - vendor/jar-dependencies/runtime-jars/httpasyncclient-4.1.3.jar
161
- - vendor/jar-dependencies/runtime-jars/httpclient-4.5.2.jar
162
+ - vendor/jar-dependencies/runtime-jars/httpclient-4.5.7.jar
162
163
  - vendor/jar-dependencies/runtime-jars/httpcore-4.4.4.jar
163
164
  - vendor/jar-dependencies/runtime-jars/httpcore-nio-4.4.6.jar
164
- - vendor/jar-dependencies/runtime-jars/httpmime-4.5.2.jar
165
- - vendor/jar-dependencies/runtime-jars/huaweicloud-dis-kafka-adapter-1.2.1.jar
166
- - vendor/jar-dependencies/runtime-jars/huaweicloud-dis-kafka-adapter-common-1.2.1.jar
167
- - vendor/jar-dependencies/runtime-jars/huaweicloud-sdk-java-dis-1.3.3.jar
168
- - vendor/jar-dependencies/runtime-jars/huaweicloud-sdk-java-dis-iface-1.3.3.jar
169
- - vendor/jar-dependencies/runtime-jars/jackson-annotations-2.8.11.jar
170
- - vendor/jar-dependencies/runtime-jars/jackson-core-2.8.11.jar
171
- - vendor/jar-dependencies/runtime-jars/jackson-databind-2.8.11.3.jar
165
+ - vendor/jar-dependencies/runtime-jars/httpmime-4.5.7.jar
166
+ - vendor/jar-dependencies/runtime-jars/huaweicloud-dis-kafka-adapter-1.2.3.jar
167
+ - vendor/jar-dependencies/runtime-jars/huaweicloud-dis-kafka-adapter-common-1.2.3.jar
168
+ - vendor/jar-dependencies/runtime-jars/huaweicloud-sdk-java-dis-1.3.4.jar
169
+ - vendor/jar-dependencies/runtime-jars/huaweicloud-sdk-java-dis-iface-1.3.4.jar
170
+ - vendor/jar-dependencies/runtime-jars/jackson-annotations-2.9.8.jar
171
+ - vendor/jar-dependencies/runtime-jars/jackson-core-2.9.8.jar
172
+ - vendor/jar-dependencies/runtime-jars/jackson-databind-2.9.8.jar
172
173
  - vendor/jar-dependencies/runtime-jars/joda-time-2.8.1.jar
173
174
  - vendor/jar-dependencies/runtime-jars/log4j-1.2-api-2.6.2.jar
174
175
  - vendor/jar-dependencies/runtime-jars/log4j-1.2.17.jar
175
176
  - vendor/jar-dependencies/runtime-jars/log4j-api-2.6.2.jar
176
177
  - vendor/jar-dependencies/runtime-jars/log4j-core-2.6.2.jar
178
+ - vendor/jar-dependencies/runtime-jars/lz4-1.3.0.jar
177
179
  - vendor/jar-dependencies/runtime-jars/protobuf-java-2.5.0.jar
178
180
  - vendor/jar-dependencies/runtime-jars/slf4j-api-1.7.21.jar
179
181
  - vendor/jar-dependencies/runtime-jars/slf4j-log4j12-1.7.21.jar
@@ -200,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
202
  - !ruby/object:Gem::Version
201
203
  version: '0'
202
204
  requirements:
203
- - jar 'com.huaweicloud.dis:huaweicloud-dis-kafka-adapter', '1.2.1'
205
+ - jar 'com.huaweicloud.dis:huaweicloud-dis-kafka-adapter', '1.2.3'
204
206
  - jar 'org.slf4j:slf4j-log4j12', '1.7.21'
205
207
  - jar 'org.apache.logging.log4j:log4j-1.2-api', '2.6.2'
206
208
  rubyforge_project: