Class CreatePartitionsOptions
Options for the CreatePartitions method.
Inherited Members
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 |