logstash-input-kafka 8.1.1 → 8.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc6e49f0963524019de1af8a625ab3be23b204b298cc2c7fff8a8a97c28554fc
4
- data.tar.gz: 3f64d3a3aead66e51d3360b2d7ef2f1fc85e45b325a7745e6b5c7c61588cb8a4
3
+ metadata.gz: 51bb32495a9b6d2d5f4e6075546a84ac5c3f01b11d3d522899c883b56ca3eb57
4
+ data.tar.gz: 5544d4845039f957f8b5d2c21e0e8a34571c185eeed9230351bc3c65a816dea6
5
5
  SHA512:
6
- metadata.gz: 706d26963908a2a37df374c8c30f6a55e43c4e5d8839ecfb9d8baa5f628283d1acb8b961ee06687060d59e9a3eadca3d7f8b4c22689789dd9a293762dbf836ce
7
- data.tar.gz: 5f5f4a99e115323b2175151117fa8934bb6c64fce6cc528bc84a57a3d9837fa0724f645d882f931a1cbd02cc8d63764bfb55c2d95b20c7d65012340fe0855d3d
6
+ metadata.gz: 63c39db0386a5f5ea51b00a516f502a9c4285c1969ca719e601a96986267c8f1779474c86e062a051ded3ce1b69a563d3ad3915e99e47249a69751eb0ff6195a
7
+ data.tar.gz: 5fb1738b6143d1e32e5087785bc391268b650ca978cb0c7a6e71ffa08318824ec6bba58ccc7dfd982322f78fc546b003fd8c5882d26476c61f250de632606810
@@ -1,3 +1,10 @@
1
+ ## 8.2.0
2
+ - Upgrade Kafka client to version 2.0.0
3
+
4
+ ## 8.1.2
5
+ - Docs: Correct list formatting for `decorate_events`
6
+ - Docs: Add kafka default to `partition_assignment_strategy`
7
+
1
8
  ## 8.1.1
2
9
  - Fix race-condition where shutting down a Kafka Input before it has finished starting could cause Logstash to crash
3
10
 
@@ -23,7 +23,7 @@ include::{include_path}/plugin_header.asciidoc[]
23
23
 
24
24
  This input will read events from a Kafka topic.
25
25
 
26
- This plugin uses Kafka Client 1.1.0. For broker compatibility, see the official https://cwiki.apache.org/confluence/display/KAFKA/Compatibility+Matrix[Kafka compatibility reference]. If the linked compatibility wiki is not up-to-date, please contact Kafka support/community to confirm compatibility.
26
+ This plugin uses Kafka Client 2.0.0. For broker compatibility, see the official https://cwiki.apache.org/confluence/display/KAFKA/Compatibility+Matrix[Kafka compatibility reference]. If the linked compatibility wiki is not up-to-date, please contact Kafka support/community to confirm compatibility.
27
27
 
28
28
  If you require features not yet available in this plugin (including client version upgrades), please file an issue with details about what you need.
29
29
 
@@ -59,7 +59,7 @@ The following metadata from Kafka broker are added under the `[@metadata]` field
59
59
  * `[@metadata][kafka][partition]`: Partition info for this message.
60
60
  * `[@metadata][kafka][offset]`: Original record offset for this message.
61
61
  * `[@metadata][kafka][key]`: Record key, if any.
62
- * `[@metadata][kafka][timestamp]`: Timestamp when this message was received by the Kafka broker.
62
+ * `[@metadata][kafka][timestamp]`: Timestamp in the Record. Depending on your broker configuration, this can be either when the record was created (default) or when it was received by the broker. See more about property log.message.timestamp.type at https://kafka.apache.org/10/documentation.html#brokerconfigs
63
63
 
64
64
  Please note that `@metadata` fields are not part of any of your events at output time. If you need these information to be
65
65
  inserted into your original event, you'll have to use the `mutate` filter to manually copy the required fields into your `event`.
@@ -67,7 +67,10 @@ inserted into your original event, you'll have to use the `mutate` filter to man
67
67
  [id="plugins-{type}s-{plugin}-options"]
68
68
  ==== Kafka Input Configuration Options
69
69
 
70
- This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
70
+ This plugin supports these configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
71
+
72
+ NOTE: Some of these options map to a Kafka option. See the
73
+ https://kafka.apache.org/documentation for more details.
71
74
 
72
75
  [cols="<,<,<",options="header",]
73
76
  |=======================================================================
@@ -200,11 +203,12 @@ balance — more threads than partitions means that some threads will be idl
200
203
 
201
204
  Option to add Kafka metadata like topic, message size to the event.
202
205
  This will add a field named `kafka` to the logstash event containing the following attributes:
203
- `topic`: The topic this message is associated with
204
- `consumer_group`: The consumer group used to read in this event
205
- `partition`: The partition this message is associated with
206
- `offset`: The offset from the partition this message is associated with
207
- `key`: A ByteBuffer containing the message key
206
+
207
+ * `topic`: The topic this message is associated with
208
+ * `consumer_group`: The consumer group used to read in this event
209
+ * `partition`: The partition this message is associated with
210
+ * `offset`: The offset from the partition this message is associated with
211
+ * `key`: A ByteBuffer containing the message key
208
212
 
209
213
  [id="plugins-{type}s-{plugin}-enable_auto_commit"]
210
214
  ===== `enable_auto_commit`
@@ -363,8 +367,10 @@ we haven't seen any partition leadership changes to proactively discover any new
363
367
  * Value type is <<string,string>>
364
368
  * There is no default value for this setting.
365
369
 
366
- The class name of the partition assignment strategy that the client will use to distribute
367
- partition ownership amongst consumer instances
370
+ The class name of the partition assignment strategy that the client uses to
371
+ distribute partition ownership amongst consumer instances. Maps to
372
+ the Kafka `partition.assignment.strategy` setting, which defaults to
373
+ `org.apache.kafka.clients.consumer.RangeAssignor`.
368
374
 
369
375
  [id="plugins-{type}s-{plugin}-poll_timeout_ms"]
370
376
  ===== `poll_timeout_ms`
@@ -1,7 +1,7 @@
1
1
  # AUTOGENERATED BY THE GRADLE SCRIPT. DO NOT EDIT.
2
2
 
3
3
  require 'jar_dependencies'
4
- require_jar('org.apache.kafka', 'kafka-clients', '1.1.0')
4
+ require_jar('org.apache.kafka', 'kafka-clients', '2.0.0')
5
5
  require_jar('org.slf4j', 'slf4j-api', '1.7.25')
6
- require_jar('org.lz4', 'lz4-java', '1.4')
6
+ require_jar('org.lz4', 'lz4-java', '1.4.1')
7
7
  require_jar('org.xerial.snappy', 'snappy-java', '1.1.7.1')
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-kafka'
3
- s.version = '8.1.1'
3
+ s.version = '8.2.0'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Reads events from a Kafka topic"
6
6
  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"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-kafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.1.1
4
+ version: 8.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elasticsearch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-01 00:00:00.000000000 Z
11
+ date: 2018-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -141,8 +141,8 @@ files:
141
141
  - logstash-input-kafka.gemspec
142
142
  - spec/integration/inputs/kafka_spec.rb
143
143
  - spec/unit/inputs/kafka_spec.rb
144
- - vendor/jar-dependencies/org/apache/kafka/kafka-clients/1.1.0/kafka-clients-1.1.0.jar
145
- - vendor/jar-dependencies/org/lz4/lz4-java/1.4/lz4-java-1.4.jar
144
+ - vendor/jar-dependencies/org/apache/kafka/kafka-clients/2.0.0/kafka-clients-2.0.0.jar
145
+ - vendor/jar-dependencies/org/lz4/lz4-java/1.4.1/lz4-java-1.4.1.jar
146
146
  - vendor/jar-dependencies/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar
147
147
  - vendor/jar-dependencies/org/xerial/snappy/snappy-java/1.1.7.1/snappy-java-1.1.7.1.jar
148
148
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html