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
postprocessing
rico-edm-transformer
Commits
75235498
Commit
75235498
authored
Mar 11, 2021
by
Günter Hipler
Browse files
changed dependency to scala App and deployment manifest
parent
ac95aa2a
Pipeline
#23117
passed with stages
in 6 minutes and 52 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
k8s-manifests/test/deployment.yml
View file @
75235498
...
...
@@ -41,5 +41,5 @@ spec:
-
name
:
TOPIC_OUT
value
:
edm-es-records
-
name
:
TOPIC_PROCESS
value
:
post
process
ing
-reporting
value
:
import-
process-reporting
restartPolicy
:
Always
src/main/scala/ch/memobase/App.scala
View file @
75235498
...
...
@@ -25,10 +25,10 @@ import org.apache.kafka.streams.KafkaStreams
import
org.apache.logging.log4j.scala.Logging
import
org.memobase.settings.SettingsLoader
import
scala.
c
ollection
.Java
Converters._
import
scala.
jdk.C
ollectionConverters._
import
scala.util.
{
Failure
,
Success
,
Try
}
object
App
extends
scala
.
App
with
Logging
{
object
App
extends
Logging
{
val
topology
=
new
KafkaTopology
private
val
settings
=
new
SettingsLoader
(
...
...
@@ -64,4 +64,9 @@ object App extends scala.App with Logging {
sys
.
ShutdownHookThread
{
streams
.
close
(
Duration
.
ofMillis
(
shutdownGracePeriodMs
))
}
def
main
(
args
:
Array
[
String
])
:
Unit
=
{
}
}
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