Class KafkaDependencyDefinition
Namespace: Cephalon.Observability.KafkaDependencies.Configuration
Assembly: Cephalon.Observability.KafkaDependencies.dll
Describes one Kafka dependency that should contribute to runtime health.
public sealed class KafkaDependencyDefinition : DependencyDefinitionBaseInheritance
Section titled “Inheritance”object ← DependencyDefinitionBase ← KafkaDependencyDefinition
Inherited Members
Section titled “Inherited Members”DependencyDefinitionBase.Id, DependencyDefinitionBase.DisplayName, DependencyDefinitionBase.Required, DependencyDefinitionBase.TimeoutSeconds, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”KafkaDependencyDefinition()
Section titled “ KafkaDependencyDefinition()”Initializes a new instance of the
public KafkaDependencyDefinition()Properties
Section titled “Properties”BootstrapServers
Section titled “ BootstrapServers”Gets or sets the Kafka bootstrap server list, such as broker-1:9092,broker-2:9092.
public string BootstrapServers { get; set; }Property Value
Section titled “Property Value”ClientId
Section titled “ ClientId”Gets or sets the optional client identifier sent to the Kafka cluster.
public string? ClientId { get; set; }Property Value
Section titled “Property Value”Password
Section titled “ Password”Gets or sets the optional SASL password used when authenticated broker access is required.
public string? Password { get; set; }Property Value
Section titled “Property Value”SaslMechanism
Section titled “ SaslMechanism”Gets or sets the optional SASL mechanism, such as Plain, ScramSha256, or ScramSha512.
public string? SaslMechanism { get; set; }Property Value
Section titled “Property Value”SecurityProtocol
Section titled “ SecurityProtocol”Gets or sets the optional Kafka security protocol, such as Plaintext, Ssl, SaslPlaintext, or SaslSsl.
public string? SecurityProtocol { get; set; }Property Value
Section titled “Property Value”Gets or sets the optional topic name that should be present in returned cluster metadata.
public string? Topic { get; set; }Property Value
Section titled “Property Value”Username
Section titled “ Username”Gets or sets the optional SASL user name used when authenticated broker access is required.
public string? Username { get; set; }