Show / Hide Table of Contents

    Class BrokerOptionsBuilderSqliteExtensions

    Adds the Silverback.Storage.Sqlite specific methods to the BrokerOptionsBuilder.

    Inheritance
    object
    BrokerOptionsBuilderSqliteExtensions
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Silverback.Messaging.Configuration
    Assembly: Silverback.Storage.Sqlite.dll
    Syntax
    public static class BrokerOptionsBuilderSqliteExtensions

    Methods

    AddSqliteKafkaOffsetStore(BrokerOptionsBuilder)

    Adds the SQLite offset store.

    Declaration
    public static BrokerOptionsBuilder AddSqliteKafkaOffsetStore(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.

    AddSqliteOutbox(BrokerOptionsBuilder)

    Adds the SQLite outbox.

    Declaration
    public static BrokerOptionsBuilder AddSqliteOutbox(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.

    UseSqliteKafkaOffsetStore(BrokerOptionsBuilder, string)

    Replaces all offset stores with the SQLite version, better suitable for testing.

    Declaration
    public static BrokerOptionsBuilder UseSqliteKafkaOffsetStore(this BrokerOptionsBuilder builder, string connectionString)
    Parameters
    Type Name Description
    BrokerOptionsBuilder builder

    The BrokerOptionsBuilder that references the IServiceCollection to add the services to.

    string connectionString

    The connection string to the SQLite database.

    Returns
    Type Description
    BrokerOptionsBuilder

    The BrokerOptionsBuilder so that additional calls can be chained.

    UseSqliteOutbox(BrokerOptionsBuilder, string)

    Replaces all outboxes with the SQLite version, better suitable for testing.

    Declaration
    public static BrokerOptionsBuilder UseSqliteOutbox(this BrokerOptionsBuilder builder, string connectionString)
    Parameters
    Type Name Description
    BrokerOptionsBuilder builder

    The BrokerOptionsBuilder that references the IServiceCollection to add the services to.

    string connectionString

    The connection string to the SQLite database.

    Returns
    Type Description
    BrokerOptionsBuilder

    The BrokerOptionsBuilder so that additional calls can be chained.

    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini