lagom / lagom-akka-discovery-service-locator

Apache License 2.0
5 stars 7 forks source link

Suggest using DNS instead of kube-api on README #54

Open ignasi35 opened 5 years ago

ignasi35 commented 5 years ago

REAMDE.md explains how an implementation of an Akka Discovery mechanism is necessary and uses Kubernetes-API as an example. I think in production users are unlikely to use Kubernetes-API for service-to-service discovery and we should use a production ready example like DNS

TimMoore commented 5 years ago

I think it would make sense to provide a default via play/reference-overrides.conf that configures the aggregate method with configuration first, and then DNS. This should be a suitable default for almost everyone, and only people with truly custom service registries should need to customize this.

TimMoore commented 5 years ago

Note that those methods are all part of the core Akka Discovery module, and don't require additional dependencies.