programming:spring
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| programming:spring [2024/07/13 20:29] – [Ribbon - Client based load balancer] skipidar | programming:spring [2024/07/14 19:36] (current) – [Docker] skipidar | ||
|---|---|---|---|
| Line 293: | Line 293: | ||
| API Gateway in SPring | API Gateway in SPring | ||
| - | ==== EUreka Namingserver ==== | ||
| - | |||
| - | Allows to register / discover micro-services | ||
| Line 315: | Line 312: | ||
| + | ==== Zipkin - Distributed Tracing Server ==== | ||
| + | |||
| + | |||
| + | Central tracing server. | ||
| + | |||
| + | * Like ELK. | ||
| + | * and CloudWatch | ||
| + | |||
| + | |||
| + | {{https:// | ||
| + | {{https:// | ||
| + | ==== Spring Cloud Bus ==== | ||
| + | |||
| + | Can use it to refresh the configs of all services, | ||
| + | by sending a message via the bus. | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== Docker ===== | ||
| + | |||
| + | == Build manually without gradle == | ||
| + | |||
| + | <sxh java> | ||
| + | docker build --build-arg JAR_FILE=build/ | ||
| + | </ | ||
| + | |||
| + | == Build with Gradle == | ||
| + | |||
| + | You can build a tagged docker image with Gradle in one command: | ||
| + | |||
| + | <sxh java> | ||
| + | sudo su | ||
| + | ./gradlew bootBuildImage --imageName=springio/ | ||
| + | |||
| + | |||
| + | sudo docker images | ||
| + | |||
| + | </ | ||
| + | |||
| + | == And run == | ||
| + | <sxh java> | ||
| + | sudo docker run -p 8080:8080 springio/ | ||
| + | </ | ||
programming/spring.1720902541.txt.gz · Last modified: by skipidar
