Unverified Commit e93907ea authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

add custom variables to service constructor


Signed-off-by: Sebastian Schüpbach's avatarSebastian Schüpbach <sebastian.schuepbach@unibas.ch>
parent abcdbace
Pipeline #22542 passed with stages
in 3 minutes and 43 seconds
......@@ -18,15 +18,19 @@
package org.memobase
import ch.memobase.settings.SettingsLoader
import kotlin.system.exitProcess
import org.apache.kafka.streams.KafkaStreams
import org.apache.logging.log4j.LogManager
import kotlin.system.exitProcess
class Service(file: String = "app.yml") {
private val log = LogManager.getLogger("ImportProcessBridgeService")
val settings = SettingsLoader(
emptyList(),
listOf(
"topicTransactionsRecords",
"topicTransactionsRecordSets",
"topicTransactionsInstitutions"
),
file,
useStreamsConfig = true
)
......
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