Skip to main content
Version: 3.x

TopicConfiguration constructor

Initializes a new instance of the TopicConfiguration class.

public TopicConfiguration(string name, int partitions, short replicas)
parameterdescription
nameThe topic name
partitionsThe number of partitions for the topic
replicasReplication factor for the topic

See Also