confluent-kafka-dotnet
Show / Hide Table of Contents

Class CreatePartitionsOptions

Options for the CreatePartitions method.

Inheritance
object
CreatePartitionsOptions
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 CreatePartitionsOptions

Properties

OperationTimeout

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

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?

ValidateOnly

If true, the request should be validated only without creating the partitions.

Default: false

Declaration
public bool ValidateOnly { get; set; }
Property Value
Type Description
bool
In this article