Overview of Eureka example components
masterThe Eureka example demonstrates a three-participant architecture:
- Eureka Server: A centralized registry for service registration and discovery.
- Example Service: A service that registers itself with Eureka and exposes a REST endpoint.
- Example Client: A client that uses Eureka to discover the service's registered REST endpoint and then queries it.
Available Example Implementations
- ExampleEurekaService: A basic service that registers with Eureka.
- ExampleEurekaGovernatedService: A version of the service that uses Governator/Guice for dependency injection (DI) initialization.
- Gradle command:
./gradlew :eureka-examples:runExampleGovernatedService - Distribution script:
./bin/ExampleEurekaGovernatedService
- Gradle command:
- ExampleEurekaClient: A client demonstrating how to find a specific application/VIP via Eureka for communication.