Commit e670c321 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix fatal error being forwarded.

parent 4027b61a
Pipeline #24213 passed with stages
in 4 minutes and 43 seconds
......@@ -158,7 +158,7 @@ class KafkaTopology(private val settings: SettingsLoader) {
private fun streamOutput(stream: KStream<String, Pair<String?, Report>>) {
stream
.filter { _, value -> value != null }
.filter { _, value -> value.second.status != ReportStatus.fatal }
.mapValues { value -> value.first }
.to(settings.outputTopic)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment