confluent-kafka-dotnet
Show / Hide Table of Contents

Class CreateTopicsOptions

Options for the CreateTopics method.

Inheritance
System.Object
CreateTopicsOptions
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 CreateTopicsOptions

Properties

OperationTimeout

The broker's operation timeout - the maximum time to wait for CreateTopics before returning a result to the application. If set to null, will return immediately upon triggering topic 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 on the broker only without creating the topic.

Default: false

Declaration
public bool ValidateOnly { get; set; }
Property Value
Type Description
System.Boolean
In This Article