You can implement your own Upstream Service Discovery mechanism. Write an actor class, make it available on the class path, and set the config to the fully qualified class name.
The class to be loaded must implement shield.actors.config.upstream.UpstreamWatcher
, and have a constructor that takes
one parameter of type com.typesafe.config.Config
which will be the parsed Domain Object.
To send an updated list of upstream services to Shield, the actor must send a shield.actors.config.UpstreamAggregatorMsgs.DiscoveredUpstreams
message to its parent actor.