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 +4 -4
- data/CHANGELOG.md +7 -0
- data/docs/index.asciidoc +16 -10
- data/lib/logstash-input-kafka_jars.rb +2 -2
- data/logstash-input-kafka.gemspec +1 -1
- data/vendor/jar-dependencies/org/apache/kafka/kafka-clients/2.0.0/kafka-clients-2.0.0.jar +0 -0
- data/vendor/jar-dependencies/org/lz4/lz4-java/{1.4/lz4-java-1.4.jar → 1.4.1/lz4-java-1.4.1.jar} +0 -0
- metadata +4 -4
- data/vendor/jar-dependencies/org/apache/kafka/kafka-clients/1.1.0/kafka-clients-1.1.0.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51bb32495a9b6d2d5f4e6075546a84ac5c3f01b11d3d522899c883b56ca3eb57
|
4
|
+
data.tar.gz: 5544d4845039f957f8b5d2c21e0e8a34571c185eeed9230351bc3c65a816dea6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63c39db0386a5f5ea51b00a516f502a9c4285c1969ca719e601a96986267c8f1779474c86e062a051ded3ce1b69a563d3ad3915e99e47249a69751eb0ff6195a
|
7
|
+
data.tar.gz: 5fb1738b6143d1e32e5087785bc391268b650ca978cb0c7a6e71ffa08318824ec6bba58ccc7dfd982322f78fc546b003fd8c5882d26476c61f250de632606810
|
data/CHANGELOG.md
CHANGED
@@ -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
|
|
data/docs/index.asciidoc
CHANGED
@@ -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
|
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
|
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
|
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
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
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
|
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', '
|
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.
|
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"
|
Binary file
|
data/vendor/jar-dependencies/org/lz4/lz4-java/{1.4/lz4-java-1.4.jar → 1.4.1/lz4-java-1.4.1.jar}
RENAMED
Binary file
|
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.
|
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-
|
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/
|
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
|