Skip to content

Commit 42751f3

Browse files
authored
Update kafka dependencies (#188)
* Update kafka-clients to 1.1.0 Using same version for slf4j dependencies. * tighten jar dependencies
1 parent 8a98561 commit 42751f3

File tree

5 files changed

+10
-13
lines changed

5 files changed

+10
-13
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## 7.0.11
22
- Internal: Update build to gradle
3+
- Upgrade Kafka client to version 1.1.0
34

45
## 7.0.10
56
- Fix broken 7.0.9 release

build.gradle

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,10 @@ task wrapper(type: Wrapper) {
3737
}
3838

3939
dependencies {
40-
compile 'org.apache.kafka:kafka-clients:1.0.0'
41-
compile 'org.slf4j:slf4j-log4j12:1.7.21'
42-
compile 'org.lz4:lz4-java:1.4'
43-
compile 'org.xerial.snappy:snappy-java:1.1.4'
40+
compile 'org.apache.kafka:kafka-clients:1.1.0'
4441
compile 'org.slf4j:slf4j-api:1.7.25'
45-
compile 'log4j:log4j:1.2.17'
42+
compile 'org.lz4:lz4-java:1.4'
43+
compile 'org.xerial.snappy:snappy-java:1.1.7.1'
4644
}
4745

4846
task generateGemJarRequiresFile {

ci/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export KAFKA_VERSION=1.0.0
1+
export KAFKA_VERSION=1.1.0
22
./kafka_test_setup.sh
33
bundle install
44
bundle exec rake vendor

docs/index.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ include::{include_path}/plugin_header.asciidoc[]
2323

2424
Write events to a Kafka topic.
2525

26-
This plugin uses Kafka Client 1.0.0. For broker compatibility, see the official https://cwiki.apache.org/confluence/display/KAFKA/Compatibility+Matrix[Kafka compatibility reference].
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].
2727

2828
If you're using a plugin version that was released after {version}, see the https://www.elastic.co/guide/en/logstash/master/plugins-inputs-kafka.html[latest plugin documentation] for updated information about Kafka compatibility. If you require features not yet available in this plugin (including client version upgrades), please file an issue with details about what you need.
2929

@@ -410,4 +410,4 @@ Serializer class for the value of the message
410410
[id="plugins-{type}s-{plugin}-common-options"]
411411
include::{include_path}/{type}.asciidoc[]
412412

413-
:default_codec!:
413+
:default_codec!:

lib/logstash-output-kafka_jars.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
# AUTOGENERATED BY THE GRADLE SCRIPT. DO NOT EDIT.
22

33
require 'jar_dependencies'
4-
require_jar('org.apache.kafka', 'kafka-clients', '1.0.0')
5-
require_jar('org.slf4j', 'slf4j-log4j12', '1.7.21')
6-
require_jar('org.lz4', 'lz4-java', '1.4')
7-
require_jar('org.xerial.snappy', 'snappy-java', '1.1.4')
4+
require_jar('org.apache.kafka', 'kafka-clients', '1.1.0')
85
require_jar('org.slf4j', 'slf4j-api', '1.7.25')
9-
require_jar('log4j', 'log4j', '1.2.17')
6+
require_jar('org.lz4', 'lz4-java', '1.4')
7+
require_jar('org.xerial.snappy', 'snappy-java', '1.1.7.1')

0 commit comments

Comments
 (0)