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
Deletion Components
Import Process Delete
Commits
1f87dfbf
Unverified
Commit
1f87dfbf
authored
Mar 02, 2021
by
Sebastian Schüpbach
Browse files
take kafka configs from configmap
parent
6e500c87
Pipeline
#22537
passed with stages
in 4 minutes and 59 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
1f87dfbf
...
...
@@ -23,7 +23,6 @@ downstream if they choose to discard the respective message header.
Finally there are a couple of more or less static settings which are set by
environmental variables:
-
`KAFKA_BOOTSTRAP_SERVERS`
: a comma-separated list of Kafka brokers
-
`CLIENT_ID`
: name of the client. This is only used as the prefix, since every
time the service is started a random id is generated
-
`TOPIC_IN`
: name of input topic
...
...
k8s-manifests/job.yml
View file @
1f87dfbf
...
...
@@ -25,9 +25,10 @@ spec:
]
image
:
cr.gitlab.switch.ch/memoriav/memobase-2020/utilities/import-process-delete:latest
imagePullPolicy
:
Always
envFrom
:
-
configMapRef
:
-
name
:
"
prod-kafka-bootstrap-servers"
env
:
-
name
:
KAFKA_BOOTSTRAP_SERVERS
value
:
mb-ka1.memobase.unibas.ch:9092,mb-ka2.memobase.unibas.ch:9092,mb-ka3.memobase.unibas.ch:9092
-
name
:
CLIENT_ID
value
:
import-process-delete
-
name
:
TOPIC_IN
...
...
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