From e0f76210f752a63d1956c90d527ddc383d6715da Mon Sep 17 00:00:00 2001 From: JoJo2406 Date: Tue, 19 Jun 2018 20:54:57 +0100 Subject: [PATCH] Change port in Consul documentation (#418) * Fix Consul default port the default port for the consul api is 8500 not 9500 - https://www.consul.io/docs/agent/options.html * Fix typo --- docs/features/servicediscovery.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/features/servicediscovery.rst b/docs/features/servicediscovery.rst index a39f5db8..be519013 100644 --- a/docs/features/servicediscovery.rst +++ b/docs/features/servicediscovery.rst @@ -18,7 +18,7 @@ will be used. "ServiceDiscoveryProvider": { "Host": "localhost", - "Port": 9500 + "Port": 8500 } In the future we can add a feature that allows ReRoute specfic configuration. @@ -49,9 +49,9 @@ A lot of people have asked me to implement a feature where Ocelot polls consul f "ServiceDiscoveryProvider": { "Host": "localhost", - "Port": 9500, + "Port": 8500, "Type": "PollConsul", - "PollingInteral": 100 + "PollingInterval": 100 } The polling interval is in milliseconds and tells Ocelot how often to call Consul for changes in service configuration. @@ -67,7 +67,7 @@ If you are using ACL with Consul Ocelot supports adding the X-Consul-Token heade "ServiceDiscoveryProvider": { "Host": "localhost", - "Port": 9500, + "Port": 8500, "Token": "footoken" }