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

    1. micronaut:
    2. http:
    3. ...
    4. health-check-interval: 15s (2)