I'm quite new in things with the netflix cloud Microservice architecture.
There are three Microservices running in my Network:
Zuul/Ribbon Service: localhost:8765
Application.yml: =============== eureka: client: serviceUrl: defaultZone: http://localhost:8761/eureka/
Eureka Service: localhost:8761
- RentCarService: localhost:8888
Now, my request is: localhost:8765/RentCarService/getAllAvailableCars
This request should automatically routed forward to the right Microservice (RentCarService with Port 8888) like localhost:8888/getAllAvailableCars
I have seen much tutorials and the most of them are forwarding the requests programmatically like in this tutorial:
Microservice discovery with spring boot and eureka
Or here by a method called getServiceURL
Do i have to code the forwarding by my own or is this possible automatically by Ribbon?
Beste regards lars