Class TopicPartitionInfo
TopicPartitionInfo represents the description of a partition within a topic. Used for result of DescribeTopics for an individual topic.
Inherited Members
Namespace: Confluent.Kafka
Assembly: Confluent.Kafka.dll
Syntax
public class TopicPartitionInfo
Properties
ISR
In-sync replica brokers list.
Declaration
public List<Node> ISR { get; set; }
Property Value
Type | Description |
---|---|
List<Node> |
Leader
Leader broker (null if not known).
Declaration
public Node Leader { get; set; }
Property Value
Type | Description |
---|---|
Node |
Partition
Partition id.
Declaration
public int Partition { get; set; }
Property Value
Type | Description |
---|---|
int |
Replicas
Replica brokers list.
Declaration
public List<Node> Replicas { get; set; }
Property Value
Type | Description |
---|---|
List<Node> |
Methods
ToString()
Returns a JSON representation of this object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A JSON representation of this object. |