parent 0a943423
Pipeline #19782 passed with stages
in 5 minutes and 34 seconds
......@@ -69,7 +69,7 @@ class KProducer(props: Properties, topic: String, reportTopic: String) extends L
}
private def createHeaders(recordId: String): java.lang.Iterable[Header] = {
val idPattern = "https://memobase.ch/([^/]+)/([^#/]+).*]".r
val idPattern = "https://memobase.ch/([^/]+)/([^#/]+).*".r
val (recordSetId, institutionId) = idPattern.findFirstMatchIn(recordId) match {
case Some(m) => m.groupCount match {
case gc if gc >= 2 =>
......
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