diff --git a/data/conf/samples/remote_replication/engine2_mongo/cgrates.json b/data/conf/samples/remote_replication/engine2_mongo/cgrates.json index 1caa34dff..34264e1a3 100644 --- a/data/conf/samples/remote_replication/engine2_mongo/cgrates.json +++ b/data/conf/samples/remote_replication/engine2_mongo/cgrates.json @@ -11,6 +11,15 @@ "http": ":2380", }, +"rpc_conns": { + "replicateToCache": { + "strategy": "*broadcast_sync", + "conns": [ + {"address": "*internal"}, + {"address": "127.0.0.1:2012", "transport":"*json"}, + ], + } +}, "data_db": { "db_type": "mongo", @@ -39,7 +48,8 @@ "apiers": { "enabled": true, "scheduler_conns": ["*internal"], + "caches_conns": ["replicateToCache"], }, -} +}, diff --git a/data/conf/samples/remote_replication/engine2_redis/cgrates.json b/data/conf/samples/remote_replication/engine2_redis/cgrates.json index 2dbeaca6f..1d54116fe 100644 --- a/data/conf/samples/remote_replication/engine2_redis/cgrates.json +++ b/data/conf/samples/remote_replication/engine2_redis/cgrates.json @@ -22,6 +22,17 @@ }, +"rpc_conns": { + "replicateToCache": { + "strategy": "*broadcast_sync", + "conns": [ + {"address": "*internal"}, + {"address": "127.0.0.1:2012", "transport":"*json"}, + ], + } +}, + + "rals": { "enabled": true, }, @@ -35,6 +46,7 @@ "apiers": { "enabled": true, "scheduler_conns": ["*internal"], + "caches_conns": ["replicateToCache"], }, }