April 2018
Intermediate to advanced
432 pages
10h 38m
English
The service name from a discovery server may also be set in configuration using the serviceId property. It gives you fine-grained control over a route, because you can specify the path and the serviceId independently. Here's the equivalent configuration of the routes:
zuul: routes: accounts: path: /account/** serviceId: account-service customers: path: /customer/** serviceId: customer-service orders: path: /order/** serviceId: order-service products: path: /product/** serviceId: product-service