Commit 14799e2e authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add session id to key (otherwise it is not unique ...)

parent ed91bcab
......@@ -55,7 +55,7 @@ class KafkaTopology(
emptyList<IndexReport>()
}
}
.map { key, value -> KeyValue("$key-${value?.report?.step}", klaxon.toJsonString(value)) }
.map { key, value -> KeyValue("$key-${value.report.step}-${value.metadata.sessionId}", klaxon.toJsonString(value)) }
.to(settings.outputTopic)
return builder
......
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