title: How to configure to events in Resilience4j Spring starter
body: <p>I have configured by resilience4j circuitbreaker factory bean like below.But i couldnot get a function to ovveride event listeners example to open , close etc .Please help</p>
  <pre><code>@Bean
  public Customizer&lt;Resilience4JCircuitBreakerFactory&gt; globalCustomConfiguration() {
      CircuitBreakerConfig circuitBreakerConfig = CircuitBreakerConfig.custom()
              .failureRateThreshold(Float.parseFloat(failureRateThreshold))
              .waitDurationInOpenState(Duration.ofMillis(Long.parseLong(waitDurationInOpenState)))
              .slidingWindowSize(Integer.parseInt(slidingWindowSize)).build();
      TimeLimiterConfig timeLimiterConfig = TimeLimiterConfig.custom()
              .timeoutDuration(Duration.ofSeconds(Long.parseLong(timelimiterDuration))).build();
  
      // the circuitBreakerConfig and timeLimiterConfig objects
      return factory -&gt; factory.configureDefault(id -&gt; new Resilience4JConfigBuilder(id)
              .timeLimiterConfig(timeLimiterConfig).circuitBreakerConfig(circuitBreakerConfig).build());
  }
  </code></pre>