I am trying to register a Spring Boot application to multiple Spring Boot Admin servers using the Spring Boot Admin client.
In the client config docs it says:
spring.boot.admin.client.url - Comma separated ordered list of URLs of the Spring Boot Admin server to register at. This triggers the AutoConfiguration. Mandatory.
spring.boot.admin.client.register-once - If set to true the client will only register against one admin server (in order defined by spring.boot.admin.instance.url); if that admin server goes down, will automatically register against the next admin server. If false, will register against all admin servers.
I have these set as:
spring.boot.admin.client.url: "http://server1:port/admin/,http://server2:port/admin/"
spring.boot.admin.client.register-once: false
But when I launch the client app, it only registers to server1.
I am wondering if the explanation in register-once is incorrect in that it mentions spring.boot.admin.instance.url not spring.boot.admin.client.url. If these are different, there seems to be no reference of the former.
Any help would be appreciated.