Table of Contents

Class OpenSearchTenantShardingExtensions

Namespace
Microsoft.Extensions.DependencyInjection
Assembly
Excalibur.Data.OpenSearch.dll

Extension methods for registering OpenSearch tenant shard providers.

public static class OpenSearchTenantShardingExtensions
Inheritance
OpenSearchTenantShardingExtensions
Inherited Members

Methods

UseOpenSearchTenantProjectionStore<TProjection>(IEventSourcingBuilder)

Registers the OpenSearch ITenantStoreResolver<TStore> for IProjectionStore<TProjection>, enabling tenant-aware projection store routing using index-per-tenant isolation.

public static IEventSourcingBuilder UseOpenSearchTenantProjectionStore<TProjection>(this IEventSourcingBuilder builder) where TProjection : class

Parameters

builder IEventSourcingBuilder

Returns

IEventSourcingBuilder

Type Parameters

TProjection

The projection type.