retryEventConsumerRegistry
@Bean
@ConditionalOnMissingBean(value=io.github.resilience4j.retry.event.RetryEvent.class,
parameterizedContainer=io.github.resilience4j.consumer.EventConsumerRegistry.class)
public io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.retry.event.RetryEvent> retryEventConsumerRegistry()
The EventConsumerRegistry is used to manage EventConsumer instances. The
EventConsumerRegistry is used by the Retry events monitor to show the latest RetryEvent
events for each Retry instance.
- Returns:
- a default EventConsumerRegistry
DefaultEventConsumerRegistry