confluent-kafka-dotnet
Show / Hide Table of Contents

Class ElectLeadersOptions

Options for the "AdminClient.ElectLeaders" method.

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

Properties

OperationTimeout

The broker's operation timeout - the maximum time to wait for ElectLeaders before returning a result to the application. If set to null, will return immediately upon triggering election.

Default: null

Declaration
public TimeSpan? OperationTimeout { get; set; }
Property Value
Type Description
TimeSpan?

RequestTimeout

The overall request timeout, including broker lookup, request transmission, operation time on broker, and response. If set to null, the default request timeout for the AdminClient will be used.

Default: null

Declaration
public TimeSpan? RequestTimeout { get; set; }
Property Value
Type Description
TimeSpan?
In this article