confluent-kafka-dotnet
Show / Hide Table of Contents

Class CreatePartitionsOptions

Options for the CreatePartitions method.

Inheritance
System.Object
CreatePartitionsOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Confluent.Kafka.Admin
Assembly: cs.temp.dll.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
System.Nullable<System.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
System.Nullable<System.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
System.Boolean
In This Article