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