Skip to content

Class QdrantEventSourcingServiceCollectionExtensions

Namespace: Cephalon.EventSourcing.Qdrant.Hosting
Assembly: Cephalon.EventSourcing.Qdrant.dll

Registers the Qdrant event-store provider used by Cephalon hosts.

public static class QdrantEventSourcingServiceCollectionExtensions

objectQdrantEventSourcingServiceCollectionExtensions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

AddCephalonQdrantEventSourcing(IServiceCollection, string, int, string)

Section titled “ AddCephalonQdrantEventSourcing(IServiceCollection, string, int, string)”

Adds the Qdrant event-store provider to the service collection.

public static IServiceCollection AddCephalonQdrantEventSourcing(this IServiceCollection services, string host, int port = 6334, string collectionName = "event-streams")

services IServiceCollection

The service collection to extend.

host string

The Qdrant server hostname (e.g. “localhost”).

port int

The Qdrant gRPC port. Defaults to 6334.

collectionName string

The Qdrant collection name used for event stream points. Defaults to event-streams.

IServiceCollection

The same service collection for fluent registration.