|
1 | | -%% Config file used to set advanced configuration options |
| 1 | +[ |
| 2 | + {riak_core, |
| 3 | + [ |
| 4 | + %% The cluster manager will listen for connections from remote |
| 5 | + %% clusters on this ip and port. Every node runs one cluster |
| 6 | + %% manager, but only the cluster manager running on the |
| 7 | + %% cluster_leader will service requests. This can change as nodes |
| 8 | + %% enter and leave the cluster. |
| 9 | + {cluster_mgr, {"{{cluster_manager_ip}}", {{cluster_manager_port}} } } |
| 10 | + ]}, |
2 | 11 |
|
3 | | -[{lager, |
| 12 | + {riak_repl, |
| 13 | + [ |
| 14 | + %% Path (relative or absolute) to the working directory for the |
| 15 | + %% replication process |
| 16 | + {data_root, "{{repl_data_root}}"}, |
| 17 | + |
| 18 | + %% The hard limit of fullsync workers that will be running on the |
| 19 | + %% source side of a cluster across all nodes on that cluster for a |
| 20 | + %% fullsync to a sink cluster. This means if one has configured |
| 21 | + %% fullsync for two different clusters, both with a |
| 22 | + %% max_fssource_cluster of 5, 10 fullsync workers can be in |
| 23 | + %% progress. Only affects nodes on the source cluster on which this |
| 24 | + %% parameter is defined via the configuration file or command line. |
| 25 | + {max_fssource_cluster, 5}, |
| 26 | + |
| 27 | + %% Limits the number of fullsync workers that will be running on |
| 28 | + %% each individual node in a source cluster. This is a hard limit for |
| 29 | + %% all fullsyncs enabled; additional fullsync configurations will not |
| 30 | + %% increase the number of fullsync workers allowed to run on any node. |
| 31 | + %% Only affects nodes on the source cluster on which this parameter is |
| 32 | + %% defined via the configuration file or command line. |
| 33 | + {max_fssource_node, 1}, |
| 34 | + |
| 35 | + %% Limits the number of fullsync workers allowed to run on each |
| 36 | + %% individual node in a sink cluster. This is a hard limit for all |
| 37 | + %% fullsync sources interacting with the sink cluster. Thus, multiple |
| 38 | + %% simultaneous source connections to the sink cluster will have to |
| 39 | + %% share the sink node's number of maximum connections. Only affects |
| 40 | + %% nodes on the sink cluster on which this parameter is defined via |
| 41 | + %% the configuration file or command line. |
| 42 | + {max_fssink_node, 1}, |
| 43 | + |
| 44 | + %% Whether to initiate a fullsync on initial connection from the |
| 45 | + %% sink cluster. |
| 46 | + {fullsync_on_connect, true}, |
| 47 | + |
| 48 | + %% A single integer value representing the duration to wait in |
| 49 | + %% minutes between fullsyncs, or a list of {clustername, |
| 50 | + %% time_in_minutes} pairs for each sink participating in fullsync |
| 51 | + %% replication. |
| 52 | + {fullsync_interval, 30}, |
| 53 | + |
| 54 | + %% The maximum size the realtime replication queue can grow to |
| 55 | + %% before new objects are dropped. Defaults to 100MB. Dropped |
| 56 | + %% objects will need to be replication with a fullsync. |
| 57 | + {rtq_max_bytes, 104857600}, |
| 58 | + |
| 59 | + %% Enable Riak CS proxy_get and block filter. |
| 60 | + {proxy_get, disabled}, |
| 61 | + |
| 62 | + %% A heartbeat message is sent from the source to the sink every |
| 63 | + %% heartbeat_interval. Setting heartbeat_interval to undefined |
| 64 | + %% disables the realtime heartbeat. This feature is only available in |
| 65 | + %% Riak Enterprise 1.3.2+. |
| 66 | + {rt_heartbeat_interval, 15}, |
| 67 | + |
| 68 | + %% If a heartbeat response is not received in rt_heartbeat_timeout |
| 69 | + %% seconds, then the source connection exits and will be |
| 70 | + %% re-established. This feature is only available in Riak |
| 71 | + %% Enterprise 1.3.2+. |
| 72 | + {rt_heartbeat_timeout, 15}, |
| 73 | + |
| 74 | + %% By default, fullsync replication will try to coordinate with |
| 75 | + %% other riak subsystems that may be contending for the same |
| 76 | + %% resources. This will help to prevent system response degradation |
| 77 | + %% under times of heavy load from multiple background tasks. To |
| 78 | + %% disable background coordination, set this parameter to false. |
| 79 | + %% Enterprise 2.0+. |
| 80 | + {fullsync_use_background_manager, true} |
| 81 | + ]}, |
| 82 | + |
| 83 | + {lager, |
4 | 84 | [ |
5 | 85 | {extra_sinks, |
6 | 86 | [ |
|
19 | 99 | ] |
20 | 100 | } |
21 | 101 | ] |
22 | | -}]. |
| 102 | +} |
| 103 | +]. |
0 commit comments