Skip to content

Commit

Permalink
Update the S3 source connector to use a later version of Kafka
Browse files Browse the repository at this point in the history
Signed-off-by: Aindriu Lavelle <[email protected]>
  • Loading branch information
aindriu-aiven committed Jan 10, 2025
1 parent b4475c9 commit cd43bb3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions s3-source-connector/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ plugins { id("aiven-apache-kafka-connectors-all.java-conventions") }
val amazonS3Version by extra("2.29.34")
val amazonSTSVersion by extra("2.29.34")
val s3mockVersion by extra("0.2.6")
val testKafkaVersion by extra("3.7.1")
val kafkaVersion by extra("3.3.0")

val integrationTest: SourceSet =
sourceSets.create("integrationTest") {
Expand Down Expand Up @@ -62,8 +62,8 @@ idea {
}

dependencies {
compileOnly(apache.kafka.connect.api)
compileOnly(apache.kafka.connect.runtime)
compileOnly("org.apache.kafka:connect-api:$kafkaVersion")
compileOnly("org.apache.kafka:connect-runtime:$kafkaVersion")

implementation(project(":commons"))
implementation(project(":s3-commons"))
Expand All @@ -80,9 +80,9 @@ dependencies {
testImplementation(compressionlibs.snappy)
testImplementation(compressionlibs.zstd.jni)

testImplementation(apache.kafka.connect.api)
testImplementation(apache.kafka.connect.runtime)
testImplementation(apache.kafka.connect.json)
testImplementation("org.apache.kafka:connect-api:$kafkaVersion")
testImplementation("org.apache.kafka:connect-runtime:$kafkaVersion")
testImplementation("org.apache.kafka:connect-json:$kafkaVersion")

testImplementation(testinglibs.junit.jupiter)
testImplementation(testinglibs.assertj.core)
Expand Down Expand Up @@ -183,11 +183,11 @@ dependencies {
exclude(group = "io.netty", module = "netty")
}

integrationTestImplementation("org.apache.kafka:connect-runtime:${testKafkaVersion}:test")
integrationTestImplementation("org.apache.kafka:connect-runtime:${testKafkaVersion}")
integrationTestImplementation("org.apache.kafka:kafka-clients:${testKafkaVersion}:test")
integrationTestImplementation("org.apache.kafka:kafka_2.13:${testKafkaVersion}:test")
integrationTestImplementation("org.apache.kafka:kafka_2.13:${testKafkaVersion}")
integrationTestImplementation("org.apache.kafka:connect-runtime:${kafkaVersion}:test")
integrationTestImplementation("org.apache.kafka:connect-runtime:${kafkaVersion}")
integrationTestImplementation("org.apache.kafka:kafka-clients:${kafkaVersion}:test")
integrationTestImplementation("org.apache.kafka:kafka_2.13:${kafkaVersion}:test")
integrationTestImplementation("org.apache.kafka:kafka_2.13:${kafkaVersion}")

// Make test utils from 'test' available in 'integration-test'
integrationTestImplementation(sourceSets["test"].output)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import io.aiven.kafka.connect.s3.source.config.S3SourceConfig;

import org.apache.commons.io.function.IOSupplier;
import org.codehaus.plexus.util.StringUtils;
import org.apache.commons.lang3.StringUtils;
import software.amazon.awssdk.core.ResponseBytes;
import software.amazon.awssdk.services.s3.S3Client;
import software.amazon.awssdk.services.s3.model.GetObjectRequest;
Expand Down

0 comments on commit cd43bb3

Please sign in to comment.