import lombok.extern.slf4j.Slf4j;
import reactor.core.publisher.Mono;
-import java.io.IOException;
import java.net.SocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
socketChannel.close();
return Mono.just(instanceId);
}
- catch (IOException e)
+ catch (Exception e)
{
return Mono.error(e);
}
backend backend_3
server b3 backend-3:8080 check
-
-userlist haproxy-dataplaneapi
- user juplo insecure-password juplo
-
-program api
- command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /usr/local/etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
- no option start-on-reload
-