KafkaConsumerSettings
Class sealed net10.0
Provides the client configuration settings for connecting to a Kafka message broker to consume messages.
namespace Aspire.Confluent.Kafka;
public sealed class KafkaConsumerSettings{ // ...} 6 members
Constructors1
Section titled ConstructorsProperties5
Section titled PropertiesConfiggetConsumerConfig Gets the configuration settings for the Kafka consumer.
ConnectionStringget; setstring? Gets or sets the connection string of the Kafka server to connect to.
DisableHealthChecksget; setbool Gets or sets a boolean value that indicates whether the Kafka health check is disabled or not.
DisableMetricsget; setbool Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are enabled or not.
DisableTracingget; setbool Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.