Class BrokerOptionsBuilderSqliteExtensions
- Namespace
- Silverback.Messaging.Configuration
- Assembly
- Silverback.Storage.Sqlite.dll
Adds the Silverback.Storage.Sqlite specific methods to the BrokerOptionsBuilder.
public static class BrokerOptionsBuilderSqliteExtensions
- Inheritance
-
BrokerOptionsBuilderSqliteExtensions
- Inherited Members
Methods
AddSqliteKafkaOffsetStore(BrokerOptionsBuilder)
Adds the SQLite offset store.
public static BrokerOptionsBuilder AddSqliteKafkaOffsetStore(this BrokerOptionsBuilder builder)
Parameters
builderBrokerOptionsBuilderThe BrokerOptionsBuilder that references the IServiceCollection to add the services to.
Returns
- BrokerOptionsBuilder
The BrokerOptionsBuilder so that additional calls can be chained.
AddSqliteOutbox(BrokerOptionsBuilder)
Adds the SQLite outbox.
public static BrokerOptionsBuilder AddSqliteOutbox(this BrokerOptionsBuilder builder)
Parameters
builderBrokerOptionsBuilderThe BrokerOptionsBuilder that references the IServiceCollection to add the services to.
Returns
- BrokerOptionsBuilder
The BrokerOptionsBuilder so that additional calls can be chained.
UseSqliteKafkaOffsetStore(BrokerOptionsBuilder, string)
Replaces all offset stores with the SQLite version, better suitable for testing.
public static BrokerOptionsBuilder UseSqliteKafkaOffsetStore(this BrokerOptionsBuilder builder, string connectionString)
Parameters
builderBrokerOptionsBuilderThe BrokerOptionsBuilder that references the IServiceCollection to add the services to.
connectionStringstringThe connection string to the SQLite database.
Returns
- BrokerOptionsBuilder
The BrokerOptionsBuilder so that additional calls can be chained.
UseSqliteOutbox(BrokerOptionsBuilder, string)
Replaces all outboxes with the SQLite version, better suitable for testing.
public static BrokerOptionsBuilder UseSqliteOutbox(this BrokerOptionsBuilder builder, string connectionString)
Parameters
builderBrokerOptionsBuilderThe BrokerOptionsBuilder that references the IServiceCollection to add the services to.
connectionStringstringThe connection string to the SQLite database.
Returns
- BrokerOptionsBuilder
The BrokerOptionsBuilder so that additional calls can be chained.