Table of Contents

Class TopicDescription

Namespace
Excalibur.Dispatch.Transport.Kafka
Assembly
Excalibur.Dispatch.Transport.Kafka.dll

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

Name string

The topic name.

Partitions int

The number of partitions.

ReplicationFactor short

The replication factor.

Config IReadOnlyDictionary<string, string>

The current topic-level configuration entries.

IsInternal bool

Whether this is an internal Kafka topic.

Properties

Config

The current topic-level configuration entries.

public IReadOnlyDictionary<string, string> Config { get; init; }

Property Value

IReadOnlyDictionary<string, string>

IsInternal

Whether this is an internal Kafka topic.

public bool IsInternal { get; init; }

Property Value

bool

Name

The topic name.

public string Name { get; init; }

Property Value

string

Partitions

The number of partitions.

public int Partitions { get; init; }

Property Value

int

ReplicationFactor

The replication factor.

public short ReplicationFactor { get; init; }

Property Value

short