Class PooledStreamingEventProcessorsConfigurer

java.lang.Object
org.axonframework.messaging.eventhandling.processing.streaming.pooled.PooledStreamingEventProcessorsConfigurer

public class PooledStreamingEventProcessorsConfigurer extends Object
A configurer for managing multiple PooledStreamingEventProcessor instances within an application.

The PooledStreamingEventProcessorsModule provides a centralized way to configure and register multiple pooled streaming event processors. It acts as a container that manages individual PooledStreamingEventProcessorModule instances, allowing you to set shared defaults that apply to all processors while enabling processor-specific customizations.

The main purpose is to simplify the configuration of multiple event processors by providing shared configuration capabilities such as default TokenStore, StreamableEventSource, and processor settings that apply to all processors unless explicitly overridden.

The configurer automatically configures default components:

This configurer is typically accessed through EventProcessingConfigurer.pooledStreaming(UnaryOperator) rather than being instantiated directly.

Since:
5.0.0
Author:
Mateusz Nowak