confluent-kafka-dotnet
Show / Hide Table of Contents

Class ConfigPropertyNames.Producer

Producer specific configuration properties.

Inheritance
object
ConfigPropertyNames.Producer
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.Kafka
Assembly: Confluent.Kafka.dll
Syntax
public static class ConfigPropertyNames.Producer

Fields

DeliveryReportFields

A comma separated list of fields that may be optionally set in delivery reports. Disabling delivery report fields that you do not require will improve maximum throughput and reduce memory usage. Allowed values: key, value, timestamp, headers, status, all, none.

default: all

Declaration
public const string DeliveryReportFields = "dotnet.producer.delivery.report.fields"
Field Value
Type Description
string

EnableBackgroundPoll

Specifies whether or not the producer should start a background poll thread to receive delivery reports and event notifications. Generally, this should be set to true. If set to false, you will need to call the Poll function manually.

default: true

Declaration
public const string EnableBackgroundPoll = "dotnet.producer.enable.background.poll"
Field Value
Type Description
string

EnableDeliveryReports

Specifies whether to enable notification of delivery reports. Typically you should set this parameter to true. Set it to false for "fire and forget" semantics and a small boost in performance.

default: true

Declaration
public const string EnableDeliveryReports = "dotnet.producer.enable.delivery.reports"
Field Value
Type Description
string
In this article