InstanceConfig is typically cached on spectator and updated every time it
changes. You might have to add some additional code to simply fetch the
cached instanceconfig.

On Tue, Feb 13, 2018 at 3:50 PM, Bo Liu <newpoo....@gmail.com> wrote:

> Hi,
>
> Basically, we want to route traffic based on the location of each instance
> and this information is encoded in the DOMAIN field in InstanceConfig.
> I am wondering if there is an easy way to get it without sending a request
> to ZK for every single instance.
>
> --
> Best regards,
> Bo
>
>

Reply via email to