diff options
| author | Konstantin Lebedev <lebedev_k@tochka.com> | 2021-02-10 15:29:05 +0500 |
|---|---|---|
| committer | Konstantin Lebedev <lebedev_k@tochka.com> | 2021-02-10 15:29:05 +0500 |
| commit | 0cfed8c3cb8cd4e9e35310a0ce7621945e10ef70 (patch) | |
| tree | a91589b0f985c8febe4890a8ae7941ab8556d18a /docker/compose/replication.toml | |
| parent | 770393a48c7c70084ae2f1bc510b8504d3b14aa4 (diff) | |
| download | seaweedfs-0cfed8c3cb8cd4e9e35310a0ce7621945e10ef70.tar.xz seaweedfs-0cfed8c3cb8cd4e9e35310a0ce7621945e10ef70.zip | |
restart replication if RabbitMQ connection closed
https://github.com/google/go-cloud/issues/2958
Diffstat (limited to 'docker/compose/replication.toml')
| -rw-r--r-- | docker/compose/replication.toml | 11 |
1 files changed, 11 insertions, 0 deletions
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 |
