Class ConcurrencyLimiterBlockingBackPressureHandler

java.lang.Object
io.awspring.cloud.sqs.listener.backpressure.ConcurrencyLimiterBlockingBackPressureHandler
All Implemented Interfaces:
BackPressureHandler, BatchAwareBackPressureHandler, IdentifiableContainerComponent

public class ConcurrencyLimiterBlockingBackPressureHandler extends Object implements BatchAwareBackPressureHandler, IdentifiableContainerComponent
A blocking BackPressureHandler that limits concurrency using a Semaphore. Suitable for scenarios requiring strict control over the number of concurrently processed messages.

Designed to be used stand-alone or in conjunction with other BackPressureHandlers within a CompositeBackPressureHandler.

This handler builds on the original SemaphoreBackPressureHandler, separating specific responsibilities into a more modular form and enabling composition with other handlers as part of an extensible backpressure strategy.

Since:
4.0.0
Author:
Loïc Rouchon, Tomaz Fernandes
See Also: