To do this you should use the setting. The following is an example configuration:
You can then inject a client with @Client("foo")
and it will use the above configuration to load balance between the two configured servers.
Enabling Health Checking
micronaut:
http:
...
health-check-interval: 15s (2)