Sorry it's taken so long to reply on this… Have you allocated and started a InstanceCleanup instance?
-Jordan On May 9, 2013, at 8:21 AM, Rob Righter <[email protected]> wrote: > Hello, > > I am using Curator's curator-x-discovery-server. It is allowing me to > putService, getAll and removeService via the REST api and that all > appears to be working correctly. However, when I call putService with > a serviceType of "STATIC", the service is not being automatically > purged from the getAll list after the specified InstanceRefreshMs has > passed. I had assumed from the documentation ( > https://github.com/Netflix/curator/tree/master/curator-x-discovery-server > ) that a STATIC service would be removed from all lists after that > InstanceRefreshMs (specified in the DiscoveryContext) expires. > > If it is helpful, the Json associated with my service is: > > { > "name": "analytics", > "id": "ca2fff8e-d756-480c-b59e-8297ff88624b", > "address": "10.20.30.40", > "port": 1234, > "payload": { > "datacenter": "dallas", > "role": "master" > }, > "registrationTimeUTC": 1368105287000, > "serviceType": "STATIC" > } > > > My questions are: > > (1) Is my understanding of the "STATIC" serviceType correct, or am I > misreading the documentation? > > (2) If my understanding is correct, is this a known issue, and can > anybody reproduce this behavior? > > Thanks, > Rob
