logstash-output-vespa_feed 0.6.1 → 0.7.1

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: 251a25498ff1530a83bb12e8fe4297b26e06f2e436f9448045eb2b17a6f379e0
4
- data.tar.gz: f0ed08c9891c3a05beb615d41d554d46eabefcd06610347878299d0fec5426fc
3
+ metadata.gz: fbb9bb44b570bfe98f17a586586bdfd1916e6aee78346f74f25a3b8cc455462a
4
+ data.tar.gz: 7211b9f297fa6ca0dca78769d2951027b0df0f2234efc9de9584d3070fe11369
5
5
  SHA512:
6
- metadata.gz: 8aecdcb83a8a4c0bd8d8d73fdf145ef8c68fc99631212fe5c278aaa5a13f071701796ffd11d5fe0e76dc6fb649f68b08311c51f5502c392691c4636458c79a9a
7
- data.tar.gz: 47a9ada688f5c2c9addbf694d14fa4f85a2ae8c94d98398a146aced557304a8261fd5391fec0d902562327b276983465359f28c2338ad2ab12b09040d81b7c71
6
+ metadata.gz: 5fe0d068cbeabdaf033b89b2693194070e328d657068f155a10196e28fc94d42298fa4ffabc1392b42f1179fab18677032e15a86daa6e44b1937990901be9f57
7
+ data.tar.gz: 12214bd130c4002ff17aeff17c37d3cbee56639edc7aaf82ed5c7c9c1b252a2e22a8591c93435267018d2ccf40935793253d246f8f79005605aa1145b776fb68
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.7.0
2
+ - adds dead letter queue support
3
+
1
4
  ## 0.6.0
2
5
  - adds options to remove fields after using them for writing
3
6
 
data/README.md CHANGED
@@ -17,7 +17,7 @@ If you're developing the plugin, you'll want to do something like:
17
17
  # run tests
18
18
  ./gradlew test
19
19
  # install it as a Logstash plugin
20
- /opt/logstash/bin/logstash-plugin install /path/to/logstash-output-vespa/logstash-output-vespa_feed-0.6.0.gem
20
+ /opt/logstash/bin/logstash-plugin install /path/to/logstash-output-vespa/logstash-output-vespa_feed-0.7.0.gem
21
21
  # profit
22
22
  /opt/logstash/bin/logstash
23
23
  ```
@@ -134,6 +134,23 @@ output {
134
134
 
135
135
  # how many times to retry on transient failures
136
136
  max_retries => 10
137
+
138
+ # if we we exceed the number of retries or if there are intransient errors,
139
+ # like field not in the schema, invalid operation, we can send the document to a dead letter queue
140
+
141
+ # you'd need to set this to true, default is false. NOTE: this overrides whatever is in logstash.yml
142
+ enable_dlq => false
143
+
144
+ # the path to the dead letter queue. NOTE: the last part of the path is the pipeline ID,
145
+ # if you want to use the dead letter queue input plugin
146
+ dlq_path => "data/dead_letter_queue"
147
+
148
+ # max dead letter queue size (bytes)
149
+ max_queue_size => 1073741824
150
+ # max segment size (i.e. file from the dead letter queue - also in bytes)
151
+ max_segment_size => 10485760
152
+ # flush interval (how often to commit the DLQ to disk, in milliseconds)
153
+ flush_interval => 5000
137
154
  }
138
155
  }
139
156
  ```
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.1
1
+ 0.7.1
data/docs/index.asciidoc CHANGED
@@ -198,6 +198,47 @@ After this time (seconds), the circuit breaker will be half-open:
198
198
  it will ping the endpoint to see if it's back,
199
199
  then resume sending requests when it's back.
200
200
 
201
+ [id="plugins-{type}s-{plugin}-enable_dlq"]
202
+ ===== `enable_dlq`
203
+
204
+ * Value type is <<boolean,boolean>>
205
+ * Default value is `false`
206
+
207
+ Enable Dead Letter Queue for this plugin. This overrides the global DLQ setting in logstash.yml.
208
+ In fact, values from logstash.yml are ignored, only those from the plugin configuration matter.
209
+
210
+ [id="plugins-{type}s-{plugin}-dlq_path"]
211
+ ===== `dlq_path`
212
+
213
+ * Value type is <<string,string>>
214
+ * Default value is `"data/dead_letter_queue"`
215
+
216
+ Path to the Dead Letter Queue directory. The last part of the path will be the pipeline ID if you want to use the dead letter queue input plugin.
217
+
218
+ [id="plugins-{type}s-{plugin}-max_queue_size"]
219
+ ===== `max_queue_size`
220
+
221
+ * Value type is <<number,number>>
222
+ * Default value is `1073741824` (1GB)
223
+
224
+ Maximum size of the Dead Letter Queue in bytes.
225
+
226
+ [id="plugins-{type}s-{plugin}-max_segment_size"]
227
+ ===== `max_segment_size`
228
+
229
+ * Value type is <<number,number>>
230
+ * Default value is `10485760` (10MB)
231
+
232
+ Maximum size of each Dead Letter Queue segment file in bytes.
233
+
234
+ [id="plugins-{type}s-{plugin}-flush_interval"]
235
+ ===== `flush_interval`
236
+
237
+ * Value type is <<number,number>>
238
+ * Default value is `5000`
239
+
240
+ How often to commit the Dead Letter Queue to disk, in milliseconds.
241
+
201
242
  // The full list of Value Types is here:
202
243
  // https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html
203
244
 
@@ -2,4 +2,4 @@
2
2
  # encoding: utf-8
3
3
 
4
4
  require 'jar_dependencies'
5
- require_jar('org.logstashplugins', 'logstash-output-vespa_feed', '0.6.1')
5
+ require_jar('org.logstashplugins', 'logstash-output-vespa_feed', '0.7.1')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-vespa_feed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Radu Gheorghe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-30 00:00:00.000000000 Z
11
+ date: 2025-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -76,7 +76,7 @@ files:
76
76
  - lib/logstash-output-vespa_feed_jars.rb
77
77
  - lib/logstash/outputs/vespa_feed.rb
78
78
  - logstash-output-vespa_feed.gemspec
79
- - vendor/jar-dependencies/org/logstashplugins/logstash-output-vespa_feed/0.6.1/logstash-output-vespa_feed-0.6.1.jar
79
+ - vendor/jar-dependencies/org/logstashplugins/logstash-output-vespa_feed/0.7.1/logstash-output-vespa_feed-0.7.1.jar
80
80
  homepage: https://vespa.ai
81
81
  licenses:
82
82
  - Apache-2.0