Class PooledStreamingEventProcessorModule

java.lang.Object
org.axonframework.common.configuration.BaseModule<PooledStreamingEventProcessorModule>
org.axonframework.messaging.eventhandling.processing.streaming.pooled.PooledStreamingEventProcessorModule
All Implemented Interfaces:
Module, ModuleBuilder<PooledStreamingEventProcessorModule>, EventProcessorModule, EventProcessorModule.CustomizationPhase<PooledStreamingEventProcessorModule,PooledStreamingEventProcessorConfiguration>, EventProcessorModule.EventHandlingPhase<PooledStreamingEventProcessorModule,PooledStreamingEventProcessorConfiguration>

A configuration module for configuring and registering a single PooledStreamingEventProcessor component.

The main capabilities provided by this module include:

  • Automatic thread pool configuration for coordinator and worker executors
  • Event handling component decoration with tracing, monitoring, and interception
  • Integration with shared configuration customizations from parent modules
  • Lifecycle management for the created processor and its executors

This module is typically not instantiated directly but created through EventProcessorModule.pooledStreaming(String) or registered via PooledStreamingEventProcessorsConfigurer.defaultProcessor(java.lang.String, java.util.function.Function<org.axonframework.messaging.eventhandling.configuration.EventHandlingComponentsConfigurer.RequiredComponentPhase, org.axonframework.messaging.eventhandling.configuration.EventHandlingComponentsConfigurer.CompletePhase>) methods.

The module applies shared defaults from PooledStreamingEventProcessorsConfigurer and EventProcessingConfigurer before applying processor-specific customizations.

Since:
5.0.0
Author:
Mateusz Nowak