Share via


KafkaProducerSettings Class

Definition

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

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

Constructors

KafkaProducerSettings()

Properties

Config

Gets the configuration settings for the Kafka producer.

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