|
| 1 | +{ |
| 2 | + "monitoringCluster": "tsd_aggregator_dev", |
| 3 | + "httpPort": 7066, |
| 4 | + "httpHost": "0.0.0.0", |
| 5 | + "httpStatusPath": "/status", |
| 6 | + "aggregationHost": "0.0.0.0", |
| 7 | + "aggregationPort": 7065, |
| 8 | + "logDirectory": "logs", |
| 9 | + "hostPipelineConfiguration": "/opt/cluster-aggregator/config/hostPipeline.json", |
| 10 | + "clusterPipelineConfiguration": "/opt/cluster-aggregator/config/clusterPipeline.json", |
| 11 | + "maxConnectionTimeout": "PT2M", |
| 12 | + "minConnectionTimeout": "PT1M", |
| 13 | + "clusterHostSuffix": ".cluster", |
| 14 | + "jvmMetricsCollectionInterval": "PT.5S", |
| 15 | + "rebalanceConfiguration": { |
| 16 | + "maxParallel": 100, |
| 17 | + "threshold": 500 |
| 18 | + }, |
| 19 | + "databaseConfigurations": { |
| 20 | + "metrics_clusteragg": { |
| 21 | + "jdbcUrl": "jdbc:h2:/opt/cluster-aggregator/data/metrics:clusteragg;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=7067;MODE=PostgreSQL;INIT=create schema if not exists clusteragg;DB_CLOSE_DELAY=-1", |
| 22 | + "driverName": "org.h2.Driver", |
| 23 | + "username": "sa", |
| 24 | + "password": "secret", |
| 25 | + "maximumPoolSize": 2, |
| 26 | + "minimumIdle": 2, |
| 27 | + "idleTimeout": 0, |
| 28 | + "modelPackages": [ "com.arpnetworking.clusteraggregator.models.ebean" ] |
| 29 | + }, |
| 30 | + "metrics_clusteragg_ddl": { |
| 31 | + "jdbcUrl": "jdbc:h2:/opt/cluster-aggregator/data/metrics:clusteragg;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=7067;MODE=PostgreSQL;INIT=create schema if not exists clusteragg;DB_CLOSE_DELAY=-1", |
| 32 | + "driverName": "org.h2.Driver", |
| 33 | + "username": "sa", |
| 34 | + "password": "secret", |
| 35 | + "migrationLocations": ["db/migration/metrics_clusteragg/common"], |
| 36 | + "migrationSchemas": ["clusteragg"], |
| 37 | + "maximumPoolSize": 2, |
| 38 | + "minimumIdle": 0, |
| 39 | + "idleTimeout": 10000, |
| 40 | + "modelPackages": [ "com.arpnetworking.clusteraggregator.models.ebean" ] |
| 41 | + } |
| 42 | + }, |
| 43 | + "akkaConfiguration": { |
| 44 | + "akka": { |
| 45 | + "loggers": ["akka.event.slf4j.Slf4jLogger"], |
| 46 | + "loglevel": "DEBUG", |
| 47 | + "stdout-loglevel": "DEBUG", |
| 48 | + "logging-filter": "akka.event.slf4j.Slf4jLoggingFilter", |
| 49 | + "actor": { |
| 50 | + "debug": { |
| 51 | + "unhandled": "on" |
| 52 | + }, |
| 53 | + "provider": "akka.cluster.ClusterActorRefProvider" |
| 54 | + }, |
| 55 | + "cluster": { |
| 56 | + "seed-nodes": [ |
| 57 | + "akka.tcp://[email protected]:2551" |
| 58 | + ], |
| 59 | + "auto-down-unreachable-after": "300s", |
| 60 | + "sharding": { |
| 61 | + "guardian-name": "sharding", |
| 62 | + "role": "", |
| 63 | + "retry-interval": "2 s", |
| 64 | + "buffer-size": 100000, |
| 65 | + "handoff-timeout": "60 s", |
| 66 | + "rebalance-interval": "10 s", |
| 67 | + "snapshot-interval": "720 s", |
| 68 | + "least-shard-allocation-strategy": { |
| 69 | + "rebalance-threshold": 10, |
| 70 | + "max-simultaneous-rebalance": 3 |
| 71 | + } |
| 72 | + } |
| 73 | + }, |
| 74 | + "remote": { |
| 75 | + "log-remote-lifecycle-events": "on", |
| 76 | + "netty": { |
| 77 | + "tcp": { |
| 78 | + "hostname": "127.0.0.1", |
| 79 | + "port": 2551 |
| 80 | + } |
| 81 | + } |
| 82 | + }, |
| 83 | + "persistence": { |
| 84 | + "journal": { |
| 85 | + "plugin": "akka.persistence.journal.leveldb", |
| 86 | + "leveldb" : { |
| 87 | + "dir": "/opt/cluster-aggregator/data/journal" |
| 88 | + } |
| 89 | + } |
| 90 | + } |
| 91 | + } |
| 92 | + } |
| 93 | +} |
0 commit comments