Skip to content

Commit

Permalink
strictly kafka client version
Browse files Browse the repository at this point in the history
  • Loading branch information
rtc11 committed Apr 25, 2022
1 parent 45613b0 commit 99b84e1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions kafka-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,9 @@ dependencies {
implementation(project(":kafka"))
implementation(kotlin("test"))

api("io.confluent:kafka-streams-avro-serde:7.0.1") {
exclude("org.apache.kafka", "kafka-clients")
}

testImplementation(kotlin("test"))
}
7 changes: 6 additions & 1 deletion kafka/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@ dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.0")

api("org.rocksdb:rocksdbjni:6.29.4.1") // M1 support
api("org.apache.kafka:kafka-clients:3.1.0")
api("org.apache.kafka:kafka-clients:3.1.0") {
version {
strictly("3.1.0")
}
}
api("org.apache.kafka:kafka-streams:3.1.0") {
exclude("org.rocksdb", "rocksdbjni")
}

api("io.confluent:kafka-streams-avro-serde:7.0.1") {
exclude("org.apache.kafka", "kafka-clients")
}
Expand Down

0 comments on commit 99b84e1

Please sign in to comment.