Skip to content
Docs Try Aspire

KafkaConsumerSettings Properties

Class Properties 5 members
Provides the client configuration settings for connecting to a Kafka message broker to consume messages.
Config Section titled Config ConsumerConfig
Gets the configuration settings for the Kafka consumer.
public ConsumerConfig Config { get; }
ConnectionString Section titled ConnectionString nullable string?
Gets or sets the connection string of the Kafka server to connect to.
public string? ConnectionString { get; set; }
DisableHealthChecks Section titled DisableHealthChecks bool
Gets or sets a boolean value that indicates whether the Kafka health check is disabled or not.
public bool DisableHealthChecks { get; set; }
Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are enabled or not.
public bool DisableMetrics { get; set; }
Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
public bool DisableTracing { get; set; }