Udostępnij za pośrednictwem


NatsClientSettings Class

Definition

Provides the client configuration settings for connecting to a NATS cluster.

public sealed class NatsClientSettings
type NatsClientSettings = class
Public NotInheritable Class NatsClientSettings
Inheritance
NatsClientSettings

Constructors

NatsClientSettings()

Properties

ConnectionString

Gets or sets the connection string of the NATS cluster to connect to.

DisableHealthChecks

Gets or sets a boolean value that indicates whether the NATS health check is disabled or not.

DisableTracing

Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.

Applies to