question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to use spring-cloud-config in spring-cloud-gateway?

See original GitHub issue

I know that we can implement a custom RouteDefinitionLocator to get RouteDefinitions from spring cloud config server,and the call API /actuator/gateway/refresh to refresh Routes.

Is there a more better way to do this?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
spencergibbcommented, Jul 3, 2018

No need, just include Spring Cloud starter config.

0reactions
spring-projects-issuescommented, Jan 3, 2019

Closing due to age of the question. If you would like us to look at this issue, please comment and we will look at re-opening the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Cloud Gateway
Spring Cloud Gateway matches routes as part of the Spring WebFlux HandlerMapping infrastructure. Spring Cloud Gateway includes many built-in route predicate ...
Read more >
Spring Cloud Tutorial - Spring Cloud Gateway Hello World ...
Implement Spring Cloud Gateway using property based config · Go to url - localhost:8080/employee/message spring cloud gateway API tutorial · Go to url...
Read more >
Exploring the New Spring Cloud Gateway - Baeldung
Spring Cloud Gateway matches routes using the Spring WebFlux HandlerMapping infrastructure. It also includes many built-in Route Predicate ...
Read more >
Spring Cloud Gateway Example - DevGlan
Spring Cloud Route Configuration. Route is the basic building block of the gateway. It is defined by an ID, a destination URI, a...
Read more >
Spring Cloud - Gateway - Tutorialspoint
Dynamic Routing with Gateway · Route − These are the building blocks of the gateway which contain URL to which request is to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found