Cortwave
Cortwave

Reputation: 4907

Do request to Eureka client using server

I hava eureka server at eureka-server.com host and application with appId facade registered at server. Facade application has /users endpoint. Can I call /users endpoint through Eureka server something like this eureka-server.com/facade/users ?

Upvotes: 0

Views: 585

Answers (1)

nedenom
nedenom

Reputation: 415

No, Eureka can't proxy your calls through it, it's pure service discovery. But you can add a separate Zuul service with reverse proxy filtering which uses Eureka client to discover routes. Spring Cloud Netflix Zuul component has this out of the box.

Upvotes: 3

Related Questions