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