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
Elasticsearch Services
Search Doc Service
Commits
4948bc80
Commit
4948bc80
authored
May 07, 2021
by
Jonas Waeber
Browse files
Improve logging
parent
2fcdab85
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/kotlin/KafkaTopology.kt
View file @
4948bc80
...
...
@@ -188,8 +188,10 @@ class KafkaTopology(
is
RecordSetSearchDoc
->
{
// Do not update if the name is already the same.
if
(
value
.
name
==
elasticSearchWrapper
.
getRecordSetName
(
value
.
id
))
{
log
.
info
(
"No update for record set name for ${value.name} as they are already current."
)
KeyValue
(
key
,
null
)
}
else
{
log
.
info
(
"Updating names for record set ${value.id} in documents."
)
KeyValue
(
"$key#update"
,
updateQueryBuilder
.
updateRecordSetName
(
value
.
id
,
value
.
name
)
...
...
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