Class BrokerOptionsBuilderEntityFrameworkExtensions
Adds the Silverback.Storage.EntityFramework specific methods to the BrokerOptionsBuilder.
Inherited Members
Namespace: Silverback.Messaging.Configuration
Assembly: Silverback.Storage.EntityFramework.dll
Syntax
public static class BrokerOptionsBuilderEntityFrameworkExtensions
Methods
AddEntityFrameworkKafkaOffsetStore(BrokerOptionsBuilder)
Adds the Entity Framework based offset store.
Declaration
public static BrokerOptionsBuilder AddEntityFrameworkKafkaOffsetStore(this BrokerOptionsBuilder builder)
Parameters
| Type | Name | Description |
|---|---|---|
| BrokerOptionsBuilder | builder | The BrokerOptionsBuilder that references the IServiceCollection to add the services to. |
Returns
| Type | Description |
|---|---|
| BrokerOptionsBuilder | The BrokerOptionsBuilder so that additional calls can be chained. |
AddEntityFrameworkOutbox(BrokerOptionsBuilder)
Adds the Entity Framework based outbox.
Declaration
public static BrokerOptionsBuilder AddEntityFrameworkOutbox(this BrokerOptionsBuilder builder)
Parameters
| Type | Name | Description |
|---|---|---|
| BrokerOptionsBuilder | builder | The BrokerOptionsBuilder that references the IServiceCollection to add the services to. |
Returns
| Type | Description |
|---|---|
| BrokerOptionsBuilder | The BrokerOptionsBuilder so that additional calls can be chained. |