-
Notifications
You must be signed in to change notification settings - Fork 65
Updates Kafka client from 2.8.1 to 3.3.1 #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
11211eb
afe3f1c
1bb9d3f
10b3ac5
6437ed2
1ea9f31
b2568f0
f4de51c
6448983
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,9 @@ | ||
| import: | ||
| - logstash-plugins/.ci:travis/travis.yml@1.x | ||
| - logstash-plugins/.ci:travis/defaults.yml@1.x | ||
| - logstash-plugins/.ci:travis/exec.yml@1.x | ||
|
|
||
| env: | ||
| jobs: | ||
| # lock on version 8.x because use of Jackson 2.13.3 available from 8.3.0 | ||
| - ELASTIC_STACK_VERSION=8.x DOCKER_ENV=dockerjdk17.env | ||
| - SNAPSHOT=true ELASTIC_STACK_VERSION=8.x DOCKER_ENV=dockerjdk17.env |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,17 @@ | ||
| # AUTOGENERATED BY THE GRADLE SCRIPT. DO NOT EDIT. | ||
|
|
||
| require 'jar_dependencies' | ||
| require_jar('io.confluent', 'kafka-avro-serializer', '6.2.2') | ||
| require_jar('io.confluent', 'kafka-schema-serializer', '6.2.2') | ||
| require_jar('io.confluent', 'common-config', '6.2.2') | ||
| require_jar('io.confluent', 'kafka-avro-serializer', '7.3.0') | ||
| require_jar('io.confluent', 'kafka-schema-serializer', '7.3.0') | ||
| require_jar('io.confluent', 'common-config', '7.3.0') | ||
| require_jar('org.apache.avro', 'avro', '1.11.0') | ||
| require_jar('io.confluent', 'kafka-schema-registry-client', '6.2.2') | ||
| require_jar('org.apache.kafka', 'kafka_2.12', '2.8.1') | ||
| require_jar('io.confluent', 'common-utils', '6.2.2') | ||
| require_jar('io.confluent', 'kafka-schema-registry-client', '7.3.0') | ||
| require_jar('org.apache.kafka', 'kafka_2.12', '3.3.1') | ||
| require_jar('io.confluent', 'common-utils', '7.3.0') | ||
| require_jar('javax.ws.rs', 'javax.ws.rs-api', '2.1.1') | ||
| require_jar('org.glassfish.jersey.core', 'jersey-common', '2.33') | ||
| require_jar('org.apache.kafka', 'kafka-clients', '2.8.1') | ||
| require_jar('org.apache.kafka', 'kafka-clients', '3.3.1') | ||
| require_jar('com.github.luben', 'zstd-jni', '1.5.2-2') | ||
| require_jar('org.slf4j', 'slf4j-api', '1.7.36') | ||
| require_jar('org.lz4', 'lz4-java', '1.7.1') | ||
| require_jar('org.lz4', 'lz4-java', '1.8.0') | ||
| require_jar('org.xerial.snappy', 'snappy-java', '1.1.8.4') |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -83,6 +83,18 @@ | |
| it "should register" do | ||
| expect { subject.register }.to_not raise_error | ||
| end | ||
|
|
||
| context "x" do | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This test looks unfinished - can you fix this up before committing
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤦
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed with 6448983 |
||
| let(:config) { common_config.merge('client_dns_lookup' => 'default') } | ||
|
|
||
| it 'should fallback `client_dns_lookup` to `use_all_dns_ips` when the deprecated `default` is specified' do | ||
| #simple_kafka_config["client_dns_lookup"] = 'default' | ||
| #kafka = LogStash::Outputs::Kafka.new(simple_kafka_config) | ||
| subject.register | ||
|
|
||
| expect(subject.client_dns_lookup).to eq('use_all_dns_ips') | ||
| end | ||
| end | ||
| end | ||
|
|
||
| describe '#running' do | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.