aboutsummaryrefslogtreecommitdiff
path: root/docker/replication.toml
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2021-01-26 22:31:54 -0800
committerGitHub <noreply@github.com>2021-01-26 22:31:54 -0800
commit5e07afb0f0c1eca20da0780c806973db40ea6a24 (patch)
tree2d2167b2fb8994a1319d8c72c2f9f10087bf9daa /docker/replication.toml
parentb3f66199db4b6a9da48f091a33e87470877d6d73 (diff)
parent612b7975a12da0ff7d84781b1bea338a5f4814c6 (diff)
downloadseaweedfs-5e07afb0f0c1eca20da0780c806973db40ea6a24.tar.xz
seaweedfs-5e07afb0f0c1eca20da0780c806973db40ea6a24.zip
Merge pull request #1759 from kmlebedev/sink.local
replication to local disk storage
Diffstat (limited to 'docker/replication.toml')
-rw-r--r--docker/replication.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/docker/replication.toml b/docker/replication.toml
new file mode 100644
index 000000000..84c0bec28
--- /dev/null
+++ b/docker/replication.toml
@@ -0,0 +1,11 @@
+[source.filer]
+enabled = true
+grpcAddress = "filer:18888"
+# all files under this directory tree are replicated.
+# this is not a directory on your hard drive, but on your filer.
+# i.e., all files with this "prefix" are sent to notification message queue.
+directory = "/buckets"
+
+[sink.local]
+enabled = true
+directory = "/data" \ No newline at end of file