Table of Contents

Class BrokerOptionsBuilderMemoryExtensions

Namespace
Silverback.Messaging.Configuration
Assembly
Silverback.Storage.Memory.dll

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

public static class BrokerOptionsBuilderMemoryExtensions
Inheritance
BrokerOptionsBuilderMemoryExtensions
Inherited Members

Methods

AddInMemoryKafkaOffsetStore(BrokerOptionsBuilder)

Adds the in-memory offset store.

public static BrokerOptionsBuilder AddInMemoryKafkaOffsetStore(this BrokerOptionsBuilder builder)

Parameters

builder BrokerOptionsBuilder

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

Returns

BrokerOptionsBuilder

The BrokerOptionsBuilder so that additional calls can be chained.

AddInMemoryOutbox(BrokerOptionsBuilder)

Adds the in-memory outbox.

public static BrokerOptionsBuilder AddInMemoryOutbox(this BrokerOptionsBuilder builder)

Parameters

builder BrokerOptionsBuilder

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

Returns

BrokerOptionsBuilder

The BrokerOptionsBuilder so that additional calls can be chained.

UseInMemoryKafkaOffsetStore(BrokerOptionsBuilder)

Replaces all offset stores with the in-memory version, better suitable for testing.

public static BrokerOptionsBuilder UseInMemoryKafkaOffsetStore(this BrokerOptionsBuilder builder)

Parameters

builder BrokerOptionsBuilder

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

Returns

BrokerOptionsBuilder

The BrokerOptionsBuilder so that additional calls can be chained.

UseInMemoryOutbox(BrokerOptionsBuilder)

Replaces all outboxes with the in-memory version, better suitable for testing.

public static BrokerOptionsBuilder UseInMemoryOutbox(this BrokerOptionsBuilder builder)

Parameters

builder BrokerOptionsBuilder

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

Returns

BrokerOptionsBuilder

The BrokerOptionsBuilder so that additional calls can be chained.