diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-10-31 01:11:19 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-10-31 01:11:19 -0700 |
| commit | 4c97ff3717dc642fd2cad311a79df9ba266669cb (patch) | |
| tree | 1c29716a587bb2f853439af6e0ebad88c906a82a /weed/command/scaffold.go | |
| parent | 200cbcde628d814eef44570076885651b3a0ed24 (diff) | |
| download | seaweedfs-4c97ff3717dc642fd2cad311a79df9ba266669cb.tar.xz seaweedfs-4c97ff3717dc642fd2cad311a79df9ba266669cb.zip | |
support AWS SQS as file change notification message queue
Diffstat (limited to 'weed/command/scaffold.go')
| -rw-r--r-- | weed/command/scaffold.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go index 95ddbd57c..cc6e5d6ef 100644 --- a/weed/command/scaffold.go +++ b/weed/command/scaffold.go @@ -146,6 +146,14 @@ hosts = [ ] topic = "seaweedfs_filer" +[notification.aws_sqs] +# experimental, let me know if it works +enabled = false +aws_access_key_id = "" # if empty, loads from the shared credentials file (~/.aws/credentials). +aws_secret_access_key = "" # if empty, loads from the shared credentials file (~/.aws/credentials). +region = "us-east-2" +sqs_queue_name = "my_filer_queue" # an existing queue name + ` REPLICATION_TOML_EXAMPLE = ` # A sample TOML config file for replicating SeaweedFS filer @@ -169,6 +177,13 @@ topic = "seaweedfs_filer1_to_filer2" offsetFile = "./last.offset" offsetSaveIntervalSeconds = 10 +[notification.aws_sqs] +enabled = false +aws_access_key_id = "" # if empty, loads from the shared credentials file (~/.aws/credentials). +aws_secret_access_key = "" # if empty, loads from the shared credentials file (~/.aws/credentials). +region = "us-east-2" +sqs_queue_name = "my_filer_queue" # an existing queue name + [sink.filer] enabled = false grpcAddress = "localhost:18888" |
