Is there a way to integrate the Netflix Service Discovery Server (Eureka) with different programming languages (e.g. php). For instance, we would like to make a service discovery client in php.
Thanks in advance for the help.
Once you have an application that is a discovery client, you can use it to discover service instances from the Eureka Server. One way to do so is to use the native com.netflix.discovery.EurekaClient (as opposed to the Spring Cloud DiscoveryClient), as shown in the following example:
This REST service is also known as Eureka Server. The Services that register in Eureka Server to obtain information about each other are called Eureka Clients. Following diagram illustrates how Eureka clients and server fit in together. As the above diagram indicates, Service A and Service B are registered in Eureka server.
Eureka is the Netflix Service Discovery Server and client. The server can be configured and deployed to be highly available, with each server replicating state about the registered services to the others. Let’s start by creating the Eureka service discovery registry server. Our project structure looks like the following.
Client service will use this URL to access the Eureka server application. In this particular instance, the URL is set to http://localhost:8761/eureka . As stated in a previous section, Spring Cloud supports multiple discovery solutions such as Eureka, Consul, Zookeeper and Cloud Foundry.
Two options:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With