public RoutingHost(ILoggerFactory logger,
                           CustomRouter router, IRouteStore store, IRouteSource source,
                           IRoutingConfig config)
        {
            _router = router;
            _logger = logger?.CreateLogger <RoutingHost>();
            _store  = store;
            _source = source;
            _config = config;

            var ignore = WatchLoop();
        }
        public RoutingHost(CustomRouter router, CondenserConfiguration config, ILoggerFactory logger,
                           RoutingData routingData, IEnumerable <IService> customRoutes, Func <IConsulService> serviceFactory)
        {
            _routingData      = routingData;
            _serviceFactory   = serviceFactory;
            _logger           = logger?.CreateLogger <RoutingHost>();
            _client.Timeout   = TimeSpan.FromMinutes(6);
            _router           = router;
            _healthCheckUri   = $"http://{config.AgentAddress}:{config.AgentPort}{HttpUtils.HealthAnyUrl}?index=";
            _serviceLookupUri = $"http://{config.AgentAddress}:{config.AgentPort}{HttpUtils.SingleServiceCatalogUrl}";
            var ignore = WatchLoop();

            foreach (var customRoute in customRoutes)
            {
                _router.AddNewService(customRoute);
            }
        }