Class SilverbackBuilderAddKafkaEndpointsExtensions
Adds the AddKafkaEndpoints
method to the ISilverbackBuilder.
Inherited Members
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Silverback.Integration.Kafka.dll
Syntax
public static class SilverbackBuilderAddKafkaEndpointsExtensions
Methods
| Improve this doc View sourceAddKafkaEndpoints(ISilverbackBuilder, Action<IKafkaEndpointsConfigurationBuilder>)
Adds the Kafka endpoints.
Declaration
public static ISilverbackBuilder AddKafkaEndpoints(this ISilverbackBuilder silverbackBuilder, Action<IKafkaEndpointsConfigurationBuilder> configureAction)
Parameters
Type | Name | Description |
---|---|---|
ISilverbackBuilder | silverbackBuilder | The ISilverbackBuilder that references the IServiceCollection to add the services to. |
Action<IKafkaEndpointsConfigurationBuilder> | configureAction | An Action<T> that takes the IKafkaEndpointsConfigurationBuilder and adds the outbound and inbound endpoints. |
Returns
Type | Description |
---|---|
ISilverbackBuilder | The ISilverbackBuilder so that additional calls can be chained. |