# Consul High Availability for springboot

**URL:** <https://discuss.hashicorp.com/t/consul-high-availability-for-springboot/42028>\
**Category:** HCP Consul\
**Tags:** consul\
**Created:** [July 15, 2022, 11:19am UTC](https://discuss.hashicorp.com/t/consul-high-availability-for-springboot/42028 "2022-07-15T11:19:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![noops](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/noops/32/24440_2.png) [@noops](https://discuss.hashicorp.com/u/noops)\
**Post date:** [July 15, 2022, 11:19am UTC](https://discuss.hashicorp.com/t/consul-high-availability-for-springboot/42028/1 "2022-07-15T11:19:36Z")

</div>

Hi everyone,

I’ve trying to understand some details about the HA configuration of consul for spring applications.

If I understand things correctly, spring.cloud.consul.host can accept only one value according to this:

> <https://stackoverflow.com/questions/41930437/can-spring-cloud-consul-host-config-value-have-multiple-consul-agents>

How is the spring application going to “know” the rest of the members of the cluster if I only set one value? googling didn’t seem to return any results explaining on how this can be resolved.

Can someone explain a bit how is consul HA achieved if we only provide info for one node?
