As per my understanding the spring cloud consul config is using only port 8500 by default for communicating with consul. If this is correct, Won't this application participate in gossip protocol? If yes, how is it being done?
Asked
Active
Viewed 53 times
1 Answers
1
Spring Cloud Consul is not using gossip protocol, just HTTP API. So you are correct about port 8500.
Consul provides Service Discovery services via an HTTP API and DNS. Spring Cloud Consul leverages the HTTP API for service registration and discovery. This does not prevent non-Spring Cloud applications from leveraging the DNS interface. Consul Agents servers are run in a cluster that communicates via a gossip protocol and uses the Raft consensus protocol.

nmyk
- 1,582
- 1
- 8
- 20