# Worker Configuration.name = "worker1"# Log configuration.log-level = "info"log-file = "dm-worker.log"# DM-worker listen address.worker-addr = ":8262"advertise-addr = "127.0.0.1:8262"join = "http://127.0.0.1:8261,http://127.0.0.1:8361,http://127.0.0.1:8461"keepalive-ttl = 60relay-keepalive-ttl = 1800# New in DM v2.0.2.# relay-dir = "relay_log" # New in 5.4.0. When you use a relative path, check the deployment and start method of DM-worker to determine the full path.ssl-ca = "/path/to/ca.pem"ssl-cert = "/path/to/cert.pem"ssl-key = "/path/to/key.pem"cert-allowed-cn = ["dm"]
コンフィグレーションパラメータ
グローバル
パラメータ
説明
name
DM ワーカーの名前。
log-level
debug 、 info 、 warn 、 error 、およびfatalからログ レベルを指定します。デフォルトのログ レベルはinfoです。