Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
Import Process
Mapper Service
Commits
24dc9c26
Commit
24dc9c26
authored
Aug 13, 2020
by
Jonas Waeber
Browse files
Fix settings loader
parent
4ff93b6f
Pipeline
#12855
passed with stages
in 6 minutes and 1 second
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/main/kotlin/Service.kt
View file @
24dc9c26
...
...
@@ -23,7 +23,7 @@ import org.apache.logging.log4j.LogManager
import
org.memobase.settings.SettingsLoader
class
Service
(
file
:
String
=
"app.yml"
)
{
private
val
log
=
LogManager
.
getLogger
(
"
TableData
Service"
)
private
val
log
=
LogManager
.
getLogger
(
"
Mapper
Service"
)
val
settings
=
SettingsLoader
(
listOf
(
...
...
@@ -32,8 +32,7 @@ class Service(file: String = "app.yml") {
"configs"
),
file
,
useStreamsConfig
=
true
,
readSftpSettings
=
true
useStreamsConfig
=
true
)
val
topology
=
KafkaTopology
(
settings
).
build
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment