diff options
| author | Jonathan Amsterdam <jba@google.com> | 2019-03-19 10:10:43 -0400 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2019-03-20 07:57:58 -0400 |
| commit | 8db82e2b75eb67bc58a4869cc70fb8c5b2c0b97c (patch) | |
| tree | 3244727ad476960479357208cc7e38735a06c993 /weed/command/scaffold.go | |
| parent | 44647a46c0dc82350cc994da0784f3c3936270d6 (diff) | |
| download | seaweedfs-8db82e2b75eb67bc58a4869cc70fb8c5b2c0b97c.tar.xz seaweedfs-8db82e2b75eb67bc58a4869cc70fb8c5b2c0b97c.zip | |
notification: add Go CDK pubsub support
Add the gocdk_pub_sub package, which supports the Go Cloud Development
Kit pubsub API.
Link in all current providers.
Update the notification scaffold.
Diffstat (limited to 'weed/command/scaffold.go')
| -rw-r--r-- | weed/command/scaffold.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go index 9e45d7381..d72bd6f2f 100644 --- a/weed/command/scaffold.go +++ b/weed/command/scaffold.go @@ -180,6 +180,16 @@ google_application_credentials = "/path/to/x.json" # path to json credential fil project_id = "" # an existing project id topic = "seaweedfs_filer_topic" # a topic, auto created if does not exists +[notification.gocdk_pub_sub] +# The Go Cloud Development Kit (https://gocloud.dev). +# PubSub API (https://godoc.org/gocloud.dev/pubsub). +# Supports AWS SNS/SQS, Azure Service Bus, Google PubSub, NATS and RabbitMQ. +enabled = false +# This URL will Dial the RabbitMQ server at the URL in the environment +# variable RABBIT_SERVER_URL and open the exchange "myexchange". +# The exchange must have already been created by some other means, like +# the RabbitMQ management plugin. +topic_url = "rabbit://myexchange" ` REPLICATION_TOML_EXAMPLE = ` |
