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
f6501a5020
commit
52fb9e5773
2 changed files with 5 additions and 1 deletions
|
|
@ -14,7 +14,8 @@ services:
|
||||||
- "${APPDATA}/config/kafka-server.properties:/kafka/server.properties:ro"
|
- "${APPDATA}/config/kafka-server.properties:/kafka/server.properties:ro"
|
||||||
# fixed cluster ID, so persisted data survives image rebuilds
|
# fixed cluster ID, so persisted data survives image rebuilds
|
||||||
- "${APPDATA}/config/cluster_id:/kafka/cluster_id:ro"
|
- "${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
|
## Process Kafkatorio events
|
||||||
events-processors:
|
events-processors:
|
||||||
|
|
|
||||||
|
|
@ -2,3 +2,6 @@ KAFKATORIO_VERSION=0.10.1
|
||||||
REGISTRY_HOST=localhost
|
REGISTRY_HOST=localhost
|
||||||
# persistent data, config, and secrets
|
# persistent data, config, and secrets
|
||||||
APPDATA=/mnt/user/appdata/kafkatorio-platform
|
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