Commit a94b54c2 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files


parent 897dff2e
Pipeline #25848 passed with stages
in 2 minutes and 6 seconds
# mediametadatatodb
Responsible for ingesting media metadata to the media server index.
This service takes a number of core metadata in order to allow the media server to correctly deliver media files. Among this metadata are information on:
* Mime type of media file
* Technical metadata: Aspect ratio (videos, images), duration (audios, videos)
* Player type which is used to replay the media content (either local player or one of several external players)
* Access settings (public, closed, and some others)
* Mode of access (redirect, via proxy, delivery of local file)
## Configuration
mediametadatatodb expects a couple of set environment variables to work properly:
* `LOG_LEVEL`: Logging level of application (`DEBUG`, `INFO`, `WARNING`, `ERROR`, `CRITICAL`)
* `URI_BASE`: Path to root directory of local media files as the media server sees it (i.e. how the media directory is mounted inside the media server container). Has to be an absolute path with the `file://` prefix.
* `GROUP_ID`: Kafka consumer group id. See [Kafka documentation]( for details
* `TOPIC_IN`: Name of Kafka input topic (where the message are coming from)
* `TOPIC_PROCESS`: Name of Kafka reports topic (where the status reports are written to)
* `KAFKA_CONNECTION_RETRIES`: Max number of retries to connect to Kafka cluster
* `MARIADB_CONNECTION_RETRIES`: Max number of retries to connect to MariaDB
The default settings for the Memobase environment can be found in [helm-charts/helm-values](./helm-charts/helm-values).
\ No newline at end of file
......@@ -10,4 +10,4 @@ data:
TOPIC_IN: "{{ .Values.inputTopicName }}"
TOPIC_PROCESS: "{{ .Values.reportingTopicName }}"
KAFKA_CONNECTION_RETRIES: "{{ .Values.kafkaConnectionRetries }}"
MARIADB_CONNECTION_RETRIES: "{{ .Values.mariadbConnectionRetries }}"
\ No newline at end of file
MARIADB_CONNECTION_RETRIES: "{{ .Values.mariadbConnectionRetries }}"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment