aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold.go
diff options
context:
space:
mode:
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
`
)