-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* missing CborSerializable in one place * missing restart supervision, especially important on the delivery queue singleton * refactoring of config * application-cluster instead of -kubernetes because we may run single node in kubernetes * port 0 (random) for single node local-drone-control * easy way to avoid port conflicts when running more than one locally * persistence-h2.conf in docs
- Loading branch information
Showing
25 changed files
with
186 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 23 additions & 13 deletions
36
samples/grpc/local-drone-control-java/src/main/resources/cluster.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,34 @@ | ||
akka { | ||
actor.provider = cluster | ||
} | ||
|
||
remote.artery { | ||
canonical.port = 2552 | ||
canonical.port = ${?REMOTE_PORT} | ||
} | ||
akka.remote.artery { | ||
canonical.port = 2552 | ||
canonical.port = ${?REMOTE_PORT} | ||
} | ||
|
||
cluster { | ||
downing-provider-class = "akka.cluster.sbr.SplitBrainResolverProvider" | ||
akka.cluster { | ||
downing-provider-class = "akka.cluster.sbr.SplitBrainResolverProvider" | ||
|
||
shutdown-after-unsuccessful-join-seed-nodes = 120s | ||
shutdown-after-unsuccessful-join-seed-nodes = 120s | ||
|
||
sharding { | ||
least-shard-allocation-strategy.rebalance-absolute-limit = 20 | ||
passivation.strategy = default-strategy | ||
sharding { | ||
least-shard-allocation-strategy.rebalance-absolute-limit = 20 | ||
passivation { | ||
strategy = default-strategy | ||
active-entity-limit = 1000 | ||
} | ||
} | ||
} | ||
|
||
akka.management { | ||
http.port = 8558 | ||
http.port = ${?HTTP_MGMT_PORT} | ||
|
||
management { | ||
http.port = 8558 | ||
http.port = ${?HTTP_MGMT_PORT} | ||
cluster.bootstrap.contact-point-discovery { | ||
service-name = "local-drone-control" | ||
discovery-method = kubernetes-api | ||
required-contact-point-nr = 1 | ||
required-contact-point-nr = ${?REQUIRED_CONTACT_POINT_NR} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 23 additions & 13 deletions
36
samples/grpc/local-drone-control-scala/src/main/resources/cluster.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,34 @@ | ||
akka { | ||
actor.provider = cluster | ||
} | ||
|
||
remote.artery { | ||
canonical.port = 2552 | ||
canonical.port = ${?REMOTE_PORT} | ||
} | ||
akka.remote.artery { | ||
canonical.port = 2552 | ||
canonical.port = ${?REMOTE_PORT} | ||
} | ||
|
||
cluster { | ||
downing-provider-class = "akka.cluster.sbr.SplitBrainResolverProvider" | ||
akka.cluster { | ||
downing-provider-class = "akka.cluster.sbr.SplitBrainResolverProvider" | ||
|
||
shutdown-after-unsuccessful-join-seed-nodes = 120s | ||
shutdown-after-unsuccessful-join-seed-nodes = 120s | ||
|
||
sharding { | ||
least-shard-allocation-strategy.rebalance-absolute-limit = 20 | ||
passivation.strategy = default-strategy | ||
sharding { | ||
least-shard-allocation-strategy.rebalance-absolute-limit = 20 | ||
passivation { | ||
strategy = default-strategy | ||
active-entity-limit = 1000 | ||
} | ||
} | ||
} | ||
|
||
akka.management { | ||
http.port = 8558 | ||
http.port = ${?HTTP_MGMT_PORT} | ||
|
||
management { | ||
http.port = 8558 | ||
http.port = ${?HTTP_MGMT_PORT} | ||
cluster.bootstrap.contact-point-discovery { | ||
service-name = "local-drone-control" | ||
discovery-method = kubernetes-api | ||
required-contact-point-nr = 1 | ||
required-contact-point-nr = ${?REQUIRED_CONTACT_POINT_NR} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.