Unraid example: keep Kafka data off Unraid's FUSE layer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
2944d52843
commit
5f7a631936
2 changed files with 5 additions and 1 deletions
|
|
@ -14,7 +14,8 @@ services:
|
|||
- "${APPDATA}/config/kafka-server.properties:/kafka/server.properties:ro"
|
||||
# fixed cluster ID, so persisted data survives image rebuilds
|
||||
- "${APPDATA}/config/cluster_id:/kafka/cluster_id:ro"
|
||||
- "${APPDATA}/kafka-data:/tmp/kraft-combined-logs"
|
||||
# direct disk path: bypasses Unraid's FUSE layer (shfs), which is slow for Kafka's small writes
|
||||
- "${KAFKA_DATA_DIR}:/tmp/kraft-combined-logs"
|
||||
|
||||
## Process Kafkatorio events
|
||||
events-processors:
|
||||
|
|
|
|||
|
|
@ -2,3 +2,6 @@ KAFKATORIO_VERSION=0.10.1
|
|||
REGISTRY_HOST=localhost
|
||||
# persistent data, config, and secrets
|
||||
APPDATA=/mnt/user/appdata/kafkatorio-platform
|
||||
# Kafka data. Use a direct disk/pool path (e.g. /mnt/cache/... or /mnt/diskN/...), not /mnt/user/...
|
||||
# Unraid's FUSE layer (shfs) is slow for Kafka's many small writes.
|
||||
KAFKA_DATA_DIR=/mnt/disk1/appdata/kafkatorio-platform/kafka-data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue