piomin / sample-spring-cloud-consul

Spring Boot applications/microservices demo using Consul discovery & config
https://piotrminkowski.com/
62 stars 45 forks source link

Can consul work well with Envoy and spring services ? #62

Open xixiangzouyibian opened 2 months ago

xixiangzouyibian commented 2 months ago

Hi, Thanks for this project. I'm also investigating the feasibility of spring service + envoy proxy + consul. Consul serves as service discovery, and Envoy serves as API Gateway. I want to know if envoy proxy can work well with spring components on non-kubernetes environment.

piomin commented 1 week ago

Yes, it can. I even created the project some time ago: https://github.com/piomin/sample-envoy-proxy, which shows how to integrate spring boot directly with Envoy. However, I didn't updated it a long time ago, and I'm not sure if it works fine with the latest Envoy API