Spring Cloud Zuul

Source: Internet
Author: User

Spring Cloud Zuul Official website: http://cloud.spring.io/spring-cloud-static/spring-cloud-netflix/1.3.1.RELEASE/, the specific configuration does not remember

Spring Cloud Zuul is configured for routing, when we configure it, like this configuration such as:

Zuul:
Routes
API-A:
Path:/api-a/**
Serviceid:service-a

But in fact we do not configure also can be routed, if our Api-gateway Gateway open port is 5555, there is another service a,service-a

If we do not configure the above, we access service A is locahost:5555/service-a

If we configure the above code, our access to service A is localhost:5555/api-a

In fact, we are the service name to the user hidden, and this ip:port/service-id way to access the Zuul service to use, ordinary services can not be used

Spring Cloud Zuul

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.