https://github.com/ajsalemo/springcloudlocal
A basic Spring Cloud project utilizing service discovery, tracing, load balancing and more.
https://github.com/ajsalemo/springcloudlocal
azure azure-spring-cloud eureka eureka-client eureka-server eureka-service-discovery jar java microservice springboot springcloud zipkin-sleuth
Last synced: 3 months ago
JSON representation
A basic Spring Cloud project utilizing service discovery, tracing, load balancing and more.
- Host: GitHub
- URL: https://github.com/ajsalemo/springcloudlocal
- Owner: Ajsalemo
- Created: 2021-05-16T20:54:06.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-05T23:41:35.000Z (about 5 years ago)
- Last Synced: 2025-05-21T05:36:23.277Z (about 1 year ago)
- Topics: azure, azure-spring-cloud, eureka, eureka-client, eureka-server, eureka-service-discovery, jar, java, microservice, springboot, springcloud, zipkin-sleuth
- Language: Java
- Homepage:
- Size: 124 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SpringCloudLocal
A basic Spring Cloud project utilizing service discovery, tracing, load balancing and more.
- `web`: The 'entrypoint' to the project. This calls to the `name` and `greeting` web services that help concatenate a basic 'hello ' response or 'hello stranger' if no name argument is supplied.
- `name`: Checks if a name argument is supplied. If not, it reaches out to the Config server for its default value to be returned.
- `greeting`: Returns a simple 'Hello'. Grabs this value from the Config server (to make use of the concept of the Config Server).
- `config`: Holds all service related .yml files that the `configserver` retrieves for the services.
- `configserver`: Grabs all related config .yml files from the Github repository for all the services that have the config starter dependency and look for this upon startup/runtime.
- `eurkaserver`: Netflix Eureka server. Enables service discovery and for any registered Discovery Client to be registered.
- `zipkinserver`: Enables request tracing lookup through it's dashboard for the services that are set up for request tracing. This includes a .sh script that can either pull and run the quickstart Zipkin Docker Image and be ran as a container or make a `curl` request to download and run the jar file locally.
### Deployment:
This is configured to be able to be deployed to Azure Spring Cloud. For the `web`, `name` and `greeting` services - the Maven package `spring-cloud-starter-azure-spring-cloud-client` has already been added for Service Discovery specific to Azure. If running locally, uncomment any needed configuration in the service associated `.yml` files.