Method UseIngestionThrottle
UseIngestionThrottle(EdgeBuilder, Func<IServiceProvider, IIngestionThrottle>)
Replaces FixedIngestionThrottle with a consumer's policy.
public static EdgeBuilder UseIngestionThrottle(this EdgeBuilder builder, Func<IServiceProvider, IIngestionThrottle> factory)
Parameters
builderEdgeBuilderThe Qavren.Edge builder.
factoryFunc<IServiceProvider, IIngestionThrottle>Builds the throttle.
Returns
- EdgeBuilder
The builder, for chaining.