Table of Contents

Class ElasticSearchTenantShardingExtensions

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

Extension methods for registering Elasticsearch tenant shard providers.

public static class ElasticSearchTenantShardingExtensions
Inheritance
ElasticSearchTenantShardingExtensions
Inherited Members

Methods

UseElasticSearchTenantProjectionStore<TProjection>(IEventSourcingBuilder)

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

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

Parameters

builder IEventSourcingBuilder

Returns

IEventSourcingBuilder

Type Parameters

TProjection

The projection type.