From 4d17b66966bebc8157be99cd14b12c7e29125ed5 Mon Sep 17 00:00:00 2001 From: CJ Cobb Date: Thu, 14 Oct 2021 15:55:51 -0400 Subject: [PATCH] add example config for cloud cassandra --- cloud-example-config.json | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 cloud-example-config.json diff --git a/cloud-example-config.json b/cloud-example-config.json new file mode 100644 index 000000000..e985d7644 --- /dev/null +++ b/cloud-example-config.json @@ -0,0 +1,38 @@ +{ + "database": + { + "type":"cassandra", + "cassandra": + { + "secure_connect_bundle":"[path/to/zip. ignore if using contact_points]", + "contact_points":"[ip. ignore if using secure_connect_bundle]", + "port":"[port. ignore if using_secure_connect_bundle]", + "keyspace":"clio", + "username":"[username, if any]", + "password":"[password, if any]", + "max_requests_outstanding":25000, + "threads":8 + } + }, + "etl_sources": + [ + { + "ip":"[rippled ip]", + "ws_port":"6006", + "grpc_port":"50051" + } + ], + "dos_guard": + { + "whitelist":["127.0.0.1"] + }, + "server":{ + "ip":"0.0.0.0", + "port":8080 + }, + "log_level":"debug", + "log_file":"./clio.log", + "online_delete":0, + "extractor_threads":8, + "read_only":false +}