Skip to content

Commit

Permalink
Downgrading kotlin-kafka to 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thburnett committed Jan 10, 2025
1 parent 93e8452 commit c6ddcb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ebms-provider/src/main/kotlin/no/nav/emottak/ebms/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import io.micrometer.prometheus.PrometheusConfig
import io.micrometer.prometheus.PrometheusMeterRegistry
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.awaitCancellation
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.onEach
import kotlinx.coroutines.launch
import net.logstash.logback.marker.Markers
Expand Down Expand Up @@ -108,8 +107,8 @@ suspend fun startSignalReceiver(kafka: Kafka) {
.receive(kafka.incomingSignalTopic)
.onEach { record ->
signalProcessor.processSignal(record.key(), record.value())
record.offset.acknowledge()
}
.collect()
}

fun Application.ebmsProviderModule(
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencyResolutionManagement {
version("cxf", "3.5.5")
version("arrow", "1.2.4")
version("suspendapp", "0.4.0")
version("kotlin-kafka", "0.4.0")
version("kotlin-kafka", "0.3.1")
version("hoplite", "2.8.2")

library("bcpkix-jdk18on", "org.bouncycastle", "bcpkix-jdk18on").versionRef("bouncycastle")
Expand Down

0 comments on commit c6ddcb6

Please sign in to comment.