@Bean
    public ArmeriaClientConfigurator armeriaClientConfigurator(ClientFactory clientFactory) {
        // Customize the client using the given WebClientBuilder. For example:
        return builder -> {
            // Use a circuit breaker for each remote host.
            final CircuitBreakerRule rule = CircuitBreakerRule.builder()
                                                              .onServerErrorStatus()
                                                              .onException()
                                                              .thenFailure();
            builder.decorator(CircuitBreakerClient.builder(rule)
                                                  .newDecorator());

            // Set a custom client factory.
            builder.factory(clientFactory);
        };
    }
A user can configure an {@link HttpClient} by providing an {@link ArmeriaClientConfigurator} bean.
examples/spring-boot-webflux/src/main/java/example/springframework/boot/webflux/HelloConfiguration.java