diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2021-02-10 04:09:54 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-10 04:09:54 -0800 |
| commit | 755b5248146ed34ce962c9a99c223f1728ce8d8d (patch) | |
| tree | a91589b0f985c8febe4890a8ae7941ab8556d18a /docker/compose | |
| parent | 770393a48c7c70084ae2f1bc510b8504d3b14aa4 (diff) | |
| parent | 0cfed8c3cb8cd4e9e35310a0ce7621945e10ef70 (diff) | |
| download | seaweedfs-755b5248146ed34ce962c9a99c223f1728ce8d8d.tar.xz seaweedfs-755b5248146ed34ce962c9a99c223f1728ce8d8d.zip | |
Merge pull request #1794 from kmlebedev/recoveringRabbitMQ
Diffstat (limited to 'docker/compose')
| -rw-r--r-- | docker/compose/notification.toml | 17 | ||||
| -rw-r--r-- | docker/compose/replication.toml | 11 |
2 files changed, 28 insertions, 0 deletions
diff --git a/docker/compose/notification.toml b/docker/compose/notification.toml new file mode 100644 index 000000000..dcd5f2c6f --- /dev/null +++ b/docker/compose/notification.toml @@ -0,0 +1,17 @@ +[notification.log] +# this is only for debugging perpose and does not work with "weed filer.replicate" +enabled = false + + +[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 = true +# 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. Сreate myexchange of type fanout and myqueue then +# create binding myexchange => myqueue +topic_url = "rabbit://swexchange" +sub_url = "rabbit://swqueue"
\ No newline at end of file diff --git a/docker/compose/replication.toml b/docker/compose/replication.toml new file mode 100644 index 000000000..833bb1692 --- /dev/null +++ b/docker/compose/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_incremental] +enabled = true +directory = "/data"
\ No newline at end of file |
