I have an Akka application which runs on AWS ECS with Fargate. I am using Akka management and Cluster Bootstrap. The application is running fine on AWS, now I’m trying to configure it run locally as well.
I used the example provided in the integration-test/aws-api-ecs
folder with the discovery method aws-api-ecs
. Without making any changes to the application running the application locally fails on getPrivateAddressOrExit
. Then I tried to distinguish between local and cluster mode configure application given in integration-test/local
for local mode, but the application fails to start due to the fact the akka.discovery.method
is not defined, if I define akka.discovery.method = aws-api-ecs
then it tries to connect to AWS and fails.
Any suggestion how can I setup application to run locally?
Regards,
Syed