Class ErrorPolicyBuilderMoveToKafkaTopicExtensions
Adds the MoveToKafkaTopic
method to the IErrorPolicyBuilder.
Inherited Members
Namespace: Silverback.Messaging.Configuration
Assembly: Silverback.Integration.Kafka.dll
Syntax
public static class ErrorPolicyBuilderMoveToKafkaTopicExtensions
Methods
| Improve this doc View sourceMoveToKafkaTopic(IErrorPolicyBuilder, Action<IKafkaProducerEndpointBuilder>, Action<MoveMessageErrorPolicy>?)
Adds a MoveMessageErrorPolicy that moves the messages that fail to be processed to the configured endpoint.
Declaration
public static IErrorPolicyChainBuilder MoveToKafkaTopic(this IErrorPolicyBuilder builder, Action<IKafkaProducerEndpointBuilder> endpointBuilderAction, Action<MoveMessageErrorPolicy>? policyConfigurationAction = null)
Parameters
Type | Name | Description |
---|---|---|
IErrorPolicyBuilder | builder | The IErrorPolicyBuilder. |
Action<IKafkaProducerEndpointBuilder> | endpointBuilderAction | An Action<T> that takes the IKafkaProducerEndpointBuilder and configures it. |
Action<MoveMessageErrorPolicy> | policyConfigurationAction | The (optional) additional configuration. |
Returns
Type | Description |
---|---|
IErrorPolicyChainBuilder | The IErrorPolicyChainBuilder so that additional calls can be chained. |