Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
a8f0c6b9
Unverified
Commit
a8f0c6b9
authored
Nov 02, 2020
by
Sebastian Schüpbach
Browse files
bump version of memobase-kafka-utils
parent
6f2ce3b9
Pipeline
#16513
passed with stages
in 5 minutes and 25 seconds
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
build.gradle
View file @
a8f0c6b9
...
...
@@ -32,7 +32,7 @@ ext {
}
dependencies
{
implementation
'ch.memobase:memobase-kafka-utils:0.1.
2
'
implementation
'ch.memobase:memobase-kafka-utils:0.1.
3
'
implementation
'org.memobase:memobase-service-utilities:0.16.0'
implementation
'ch.memobase:mapper-service-configuration:0.3.4'
// Logging Framework
...
...
@@ -88,4 +88,4 @@ plugins.withType(DistributionPlugin) {
distTar
{
archiveFileName
=
'app.tar'
}
}
\ No newline at end of file
}
src/main/kotlin/App.kt
View file @
a8f0c6b9
...
...
@@ -18,8 +18,8 @@
package
org.memobase
import
org.apache.logging.log4j.LogManager
import
kotlin.system.exitProcess
import
org.apache.logging.log4j.LogManager
class
App
{
companion
object
{
...
...
src/main/kotlin/KafkaTopology.kt
View file @
a8f0c6b9
...
...
@@ -93,7 +93,6 @@ class KafkaTopology(
.
mapValues
{
value
->
buildResources
(
value
)
}
.
mapValues
{
value
->
value
.
extractRecordId
()
}
val
extractedRecordTypeValueStream
=
extractRecordId
(
extractedRecordIdStream
)
val
hasIdAndTypeStream
=
extractRecordTypeValue
(
extractedRecordTypeValueStream
)
...
...
@@ -205,4 +204,4 @@ class KafkaTopology(
Triple
(
null
,
null
,
Report
(
key
,
ReportStatus
.
failure
,
ex
.
localizedMessage
))
}
}
}
\ No newline at end of file
}
src/main/kotlin/Service.kt
View file @
a8f0c6b9
...
...
@@ -41,4 +41,4 @@ class Service(file: String = "app.yml") {
throw
Exception
(
"Stream stopped running!"
)
}
}
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
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