IConsumerThrottlingMetricConfigurationBuilder interface
An interface to configure the throttling metrics for KafkaFlow consumers.
public interface IConsumerThrottlingMetricConfigurationBuilder
Members
| name | description | 
|---|---|
| AddMetric(…) | Configures the metric used for throttling the consumer. The factory function takes an instance of IDependencyResolver, allowing you to resolve dependencies required to create an instance of IConsumerThrottlingMetric. | 
| WithInterval(…) | Sets the interval at which the throttling metric is checked. The throttling actions will be applied based on this interval. |