Class NatsDataOptions
Namespace: Cephalon.Data.Nats.Configuration
Assembly: Cephalon.Data.Nats.dll
Options controlling how Cephalon.Data.Nats connects to a NATS server and registers data services.
public sealed class NatsDataOptionsInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Fields
Section titled “Fields”DefaultUri
Section titled “ DefaultUri”The default NATS server URI used when neither URI setting is supplied.
public const string DefaultUri = "nats://localhost:4222"Field Value
Section titled “Field Value”ProviderId
Section titled “ ProviderId”The provider identifier used in capability and descriptor metadata.
public const string ProviderId = "nats"Field Value
Section titled “Field Value”SectionPath
Section titled “ SectionPath”The configuration section path used by default for NATS data settings.
public const string SectionPath = "Engine:Data:Nats"Field Value
Section titled “Field Value”Properties
Section titled “Properties”BucketPrefix
Section titled “ BucketPrefix”Prefix applied to all managed JetStream KV bucket names. Defaults to cephalon.
public string BucketPrefix { get; set; }Property Value
Section titled “Property Value”RegisterInbox
Section titled “ RegisterInbox”When true, registers
public bool RegisterInbox { get; set; }Property Value
Section titled “Property Value”RegisterOutbox
Section titled “ RegisterOutbox”When true, registers
public bool RegisterOutbox { get; set; }Property Value
Section titled “Property Value”The inline NATS server URI. Defaults to nats://localhost:4222 when left unset.
public string? Uri { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Use either
UriName
Section titled “ UriName”The root Uris entry name to resolve for NATS.
public string? UriName { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Use either