Class BrokerOptionsBuilderAddKafkaExtensions
Adds the AddKafka
method to the IBrokerOptionsBuilder.
Inherited Members
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Silverback.Integration.Kafka.dll
Syntax
public static class BrokerOptionsBuilderAddKafkaExtensions
Methods
| Improve this doc View sourceAddKafka(IBrokerOptionsBuilder)
Registers Apache Kafka as message broker.
Declaration
public static IBrokerOptionsBuilder AddKafka(this IBrokerOptionsBuilder brokerOptionsBuilder)
Parameters
Type | Name | Description |
---|---|---|
IBrokerOptionsBuilder | brokerOptionsBuilder | The IBrokerOptionsBuilder that references the IServiceCollection to add the services to. |
Returns
Type | Description |
---|---|
IBrokerOptionsBuilder | The IBrokerOptionsBuilder so that additional calls can be chained. |