This Video Explain you How to Work with Spring Cloud Consul Key Value Store | Distributed Configuration, And to Set up the Configuration in Application Properties File or Bootstrap YAML.
Consul Download - developer.hashicorp.com/consul/downloads
Prerequisite for Consul -
Check IP Address on Machine -
Windows - ipconfig
Mac -
ipconfig getifaddr en1 - Ethernet
ipconfig getifaddr en0 - Wifi
Consul Command to Start =
consul agent -dev -bind 192.168.1.2(192.168.1.2 - IP Add. for your Machine)
Consul URL - http://localhost:8500/ui/dc1/services
Cloud Documentation for Consul - docs.spring.io/spring-cloud-consul/docs/current/re…
Github URL for Code - github.com/PrashantRana95/springbootconsul
#springboot #microservice
コメント