Class SilverbackStorageInitializerSqliteExtensions
Adds the Silverback.Storage.Sqlite specific methods to the SilverbackStorageInitializer.
Inherited Members
Namespace: Silverback.Storage
Assembly: Silverback.Storage.Sqlite.dll
Syntax
public static class SilverbackStorageInitializerSqliteExtensions
Methods
CreateSqliteKafkaOffsetStoreAsync(SilverbackStorageInitializer, SqliteKafkaOffsetStoreSettings)
Creates the SQLite kafka offset store table.
Declaration
public static Task CreateSqliteKafkaOffsetStoreAsync(this SilverbackStorageInitializer initializer, SqliteKafkaOffsetStoreSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| SilverbackStorageInitializer | initializer | |
| SqliteKafkaOffsetStoreSettings | settings | The kafka offset store settings. |
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
CreateSqliteKafkaOffsetStoreAsync(SilverbackStorageInitializer, string)
Creates the SQLite kafka offset store table.
Declaration
public static Task CreateSqliteKafkaOffsetStoreAsync(this SilverbackStorageInitializer initializer, string connectionString)
Parameters
| Type | Name | Description |
|---|---|---|
| SilverbackStorageInitializer | initializer | |
| string | connectionString | The connection string to the SQLite database. |
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
CreateSqliteKafkaOffsetStoreAsync(SilverbackStorageInitializer, string, string, TimeSpan)
Creates the SQLite kafka offset store table.
Declaration
public static Task CreateSqliteKafkaOffsetStoreAsync(this SilverbackStorageInitializer initializer, string connectionString, string tableName, TimeSpan timeout)
Parameters
| Type | Name | Description |
|---|---|---|
| SilverbackStorageInitializer | initializer | |
| string | connectionString | The connection string to the SQLite database. |
| string | tableName | The name of the kafka offset store table. |
| TimeSpan | timeout | The table creation timeout. |
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
CreateSqliteOutboxAsync(SilverbackStorageInitializer, SqliteOutboxSettings)
Creates the SQLite outbox table.
Declaration
public static Task CreateSqliteOutboxAsync(this SilverbackStorageInitializer initializer, SqliteOutboxSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| SilverbackStorageInitializer | initializer | |
| SqliteOutboxSettings | settings | The outbox settings. |
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
CreateSqliteOutboxAsync(SilverbackStorageInitializer, string)
Creates the SQLite outbox table.
Declaration
public static Task CreateSqliteOutboxAsync(this SilverbackStorageInitializer initializer, string connectionString)
Parameters
| Type | Name | Description |
|---|---|---|
| SilverbackStorageInitializer | initializer | |
| string | connectionString | The connection string to the SQLite database. |
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
CreateSqliteOutboxAsync(SilverbackStorageInitializer, string, string, TimeSpan)
Creates the SQLite outbox table.
Declaration
public static Task CreateSqliteOutboxAsync(this SilverbackStorageInitializer initializer, string connectionString, string tableName, TimeSpan timeout)
Parameters
| Type | Name | Description |
|---|---|---|
| SilverbackStorageInitializer | initializer | |
| string | connectionString | The connection string to the SQLite database. |
| string | tableName | The name of the outbox table. |
| TimeSpan | timeout | The table creation timeout. |
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |