Constructor KeyedThrottleProcessor(IProcessor, Func<IExchange, string>, int, TimeSpan?, bool, ILogger?)

Assembly: redb.Route.dll

Creates a keyed throttle with a fixed limit per key.

public KeyedThrottleProcessor(IProcessor next, Func<IExchange, string> keyExtractor, int maxPerPeriod, TimeSpan? period = null, bool rejectOnOverflow = false, ILogger? logger = null)