Skip to content

Commit

Permalink
fix(dataflow/gradle): change dependency ordering
Browse files Browse the repository at this point in the history
The order in which dependencies are specified for Gradle matters,
influencing the ordering in the classpath of the application.

Here, the slf4j klogging plugin was introduced after the kafka
streams dependency, leading to errors at runtime, with the kafka-streams
logging facility not able to find a slf4j provider.
  • Loading branch information
lc525 committed Feb 9, 2024
1 parent 59a50a1 commit eb06ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scheduler/data-flow/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ repositories {
dependencies {
implementation("com.natpryce:konfig:1.6.10.0")
implementation("io.klogging:klogging-jvm:0.5.8")
implementation("io.klogging:slf4j-klogging:0.5.8")

// Kafka
implementation("org.apache.kafka:kafka-streams:3.4.0")
implementation("io.klogging:slf4j-klogging:0.5.8")
testImplementation("org.apache.kafka:kafka-streams-test-utils:3.5.0")

// gRPC
Expand Down

0 comments on commit eb06ff5

Please sign in to comment.