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
Import Process Administrator
Commits
5abc089c
Unverified
Commit
5abc089c
authored
Aug 21, 2020
by
Sebastian Schüpbach
Browse files
fix wrongly named env var
Signed-off-by:
Sebastian Schüpbach
<
sebastian.schuepbach@unibas.ch
>
parent
4f86ad53
Pipeline
#13084
passed with stages
in 8 minutes and 46 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/app.yml
View file @
5abc089c
app
:
count
Input
Topic
:
${COUNT_
INPUT_
TOPIC:?system}
countTopic
In
:
${COUNT_TOPIC
_IN
:?system}
kafka
:
streams
:
bootstrap.servers
:
${KAFKA_BOOTSTRAP_SERVERS:?system}
...
...
src/main/scala/ch/memobase/SettingsFromFile.scala
View file @
5abc089c
...
...
@@ -45,7 +45,7 @@ trait Settings {
*/
object
SettingsFromFile
extends
Settings
{
private
val
settings
=
new
SettingsLoader
(
List
(
"count
Input
Topic"
"countTopic
In
"
).
asJava
,
"app.yml"
,
false
,
...
...
@@ -57,7 +57,7 @@ object SettingsFromFile extends Settings {
def
getReportingInputTopic
:
String
=
settings
.
getInputTopic
override
def
getCountInputTopic
:
String
=
settings
.
getAppSettings
.
getProperty
(
"count
Input
Topic"
)
override
def
getCountInputTopic
:
String
=
settings
.
getAppSettings
.
getProperty
(
"countTopic
In
"
)
def
getKafkaOutputTopic
:
String
=
settings
.
getOutputTopic
...
...
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