Hi guys, in this lesson we will create euro client for cursors. Eureka is a naming server in separate worth with using Eureka micro services can communicate with each other by using the application names to enable your local client. First of all, we should create a configuration. First of all we will describe your local zone. Later we will describe your local instance features. Your local instance is a single instance of a micro service every instance needs to To renew its lease to your local server with fragrance.
We can also customize expiry time of instance iraq also supports load balancing Okay, that's all about configuration. Now we can enable you know client from On our main class, okay, we added enable discovery client annotation to our main class. Finally, we will lease discoverable services and instances with auto Discovery Service. To do it, we will use discovery client object in user controllers. First of all, we will create instance for this gallery client. Then we want to display port number of service instance.
And we want to list all instances of user service to do it, we should input environment then we should get service ID with sip link value annotation. Our method will be get bought to display port number of instance, API that really service part or other methods really get instances to get instances of micro service. API bad b2b service instances. Okay, that's all about you know, cook lines. Thank you