Class TopicDescription
Describes the current state and configuration of a Kafka topic.
public sealed record TopicDescription : IEquatable<TopicDescription>
- Inheritance
-
TopicDescription
- Implements
- Inherited Members
- Extension Methods
Constructors
TopicDescription(string, int, short, IReadOnlyDictionary<string, string>, bool)
Describes the current state and configuration of a Kafka topic.
public TopicDescription(string Name, int Partitions, short ReplicationFactor, IReadOnlyDictionary<string, string> Config, bool IsInternal)
Parameters
NamestringThe topic name.
PartitionsintThe number of partitions.
ReplicationFactorshortThe replication factor.
ConfigIReadOnlyDictionary<string, string>The current topic-level configuration entries.
IsInternalboolWhether this is an internal Kafka topic.
Properties
Config
The current topic-level configuration entries.
public IReadOnlyDictionary<string, string> Config { get; init; }
Property Value
IsInternal
Whether this is an internal Kafka topic.
public bool IsInternal { get; init; }
Property Value
Name
The topic name.
public string Name { get; init; }
Property Value
Partitions
The number of partitions.
public int Partitions { get; init; }
Property Value
ReplicationFactor
The replication factor.
public short ReplicationFactor { get; init; }