I have a function which registers my web-services to spring-eureka discovery server but it automatically de-registers it. to solve this problem, I thought to make a function which will automatically execute in few seconds and register my service again and again.
Please suggest what to do and if u have a better approach to encounter this problem that will be great.