Skip to content

Commit e3a81d0

Browse files
committed
Remove cluster config from api project
1 parent f71c0e8 commit e3a81d0

File tree

2 files changed

+0
-78
lines changed

2 files changed

+0
-78
lines changed

api/src/main/resources/application-dev.conf

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,6 @@ akka {
44
logging-filter = "akka.event.slf4j.Slf4jLoggingFilter"
55
http.parsing.max-content-length = 1G
66
http.server.default-host-header = "cfpb.gov"
7-
8-
actor {
9-
provider = cluster
10-
}
11-
12-
remote {
13-
log-remote-lifecycle-events = error
14-
netty.tcp {
15-
hostname = ${clustering.ip}
16-
port = ${clustering.port}
17-
}
18-
}
19-
20-
cluster {
21-
failure-detector.threshold = 12 //Increase value for AWS environments
22-
metrics.enabled = off
23-
}
24-
25-
extensions = ["de.heikoseeberger.constructr.ConstructrExtension"]
26-
27-
}
28-
29-
constructr.coordination.nodes = [${hmda.zookeeperHost}":"${hmda.zookeeperPort}]
30-
31-
clustering {
32-
name = "hmda"
33-
name = ${?HMDA_CLUSTER_NAME}
34-
ip = "127.0.0.1"
35-
port = 0
36-
port = ${?APP_PORT}
377
}
388

399
hmda {
@@ -58,10 +28,6 @@ hmda {
5828
}
5929
isDemo = true
6030
actor-flow-parallelism = 4
61-
zookeeperHost = "192.168.99.100"
62-
zookeeperHost = ${?ZOOKEEPER_HOST}
63-
zookeeperPort = 2181
64-
zookeeperPort = ${?ZOOKEEPER_PORT}
6531
}
6632

6733

api/src/main/resources/application.conf

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,6 @@ akka {
44
logging-filter = "akka.event.slf4j.Slf4jLoggingFilter"
55
http.parsing.max-content-length = 1G
66
http.server.default-host-header = "cfpb.gov"
7-
8-
actor {
9-
provider = cluster
10-
}
11-
12-
remote {
13-
log-remote-lifecycle-events = error
14-
netty.tcp {
15-
hostname = ${clustering.ip}
16-
port = ${clustering.port}
17-
}
18-
}
19-
20-
cluster {
21-
failure-detector.threshold = 12 //Increase value for AWS environments
22-
metrics.enabled = off
23-
24-
retry-unsuccessful-join-after = 20s
25-
26-
http {
27-
management {
28-
hostname = "127.0.0.1"
29-
port = 9999
30-
}
31-
}
32-
33-
}
34-
35-
extensions = ["de.heikoseeberger.constructr.ConstructrExtension"]
36-
37-
}
38-
39-
constructr.coordination.nodes = [${hmda.zookeeperHost}":"${hmda.zookeeperPort}]
40-
41-
clustering {
42-
name = "hmda"
43-
name = ${?HMDA_CLUSTER_NAME}
44-
ip = "127.0.0.1"
45-
port = 0
46-
port = ${?APP_PORT}
477
}
488

499
hmda {
@@ -68,10 +28,6 @@ hmda {
6828
}
6929
isDemo = false
7030
isDemo = ${?HMDA_IS_DEMO}
71-
zookeeperHost = "192.168.99.100"
72-
zookeeperHost = ${?ZOOKEEPER_HOST}
73-
zookeeperPort = 2181
74-
zookeeperPort = ${?ZOOKEEPER_PORT}
7531
}
7632

7733
api-dispatcher {

0 commit comments

Comments
 (0)