aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-09-17 01:37:24 -0700
committerChris Lu <chris.lu@gmail.com>2018-09-17 01:37:24 -0700
commit779641e9d4d9f843267d0c44f9fc5f2c201462d3 (patch)
tree0090dee4f3f40db8f0470725ff74982119e88216 /weed/command/scaffold.go
parentb7a375f5aab78ef9a04c456ad0c46d9a5652eb88 (diff)
downloadseaweedfs-779641e9d4d9f843267d0c44f9fc5f2c201462d3.tar.xz
seaweedfs-779641e9d4d9f843267d0c44f9fc5f2c201462d3.zip
adjust replicated entry name
Diffstat (limited to 'weed/command/scaffold.go')
-rw-r--r--weed/command/scaffold.go12
1 files changed, 3 insertions, 9 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index 17d8b1884..aa4be5ea9 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -149,25 +149,19 @@ topic = "seaweedfs_filer"
[source.filer]
enabled = true
grpcAddress = "localhost:18888"
-# id is to identify the notification source, avoid reprocessing the same events
-id = "filer1"
-# all files under this directory tree and not from this source.filer.id is replicated
-directory = "/"
+directory = "/buckets" # all files under this directory tree are replicated
[notification.kafka]
enabled = true
hosts = [
"localhost:9092"
]
-topic = "seaweedfs_filer"
+topic = "seaweedfs_filer1_to_filer2"
[sink.filer]
enabled = true
grpcAddress = "localhost:18888"
-# id is to identify the notification source, avoid reprocessing the same events
-id = "filer2"
-# all files under this directory tree and not from this source.filer.id is replicated
-directory = "/"
+directory = "/backup" # all replicated files are under this directory tree
`
)