Share via


KafkaConsumerSettings Class

Definition

Provides the client configuration settings for connecting to a Kafka message broker to consume messages.

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

Constructors

KafkaConsumerSettings()

Properties

Config

Gets the configuration settings for the Kafka consumer.

ConnectionString

Gets or sets the connection string of the Kafka server to connect to.

DisableHealthChecks

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

DisableMetrics

Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are enabled or not.

Applies to