Class TopicPartitionInfo
TopicPartitionInfo represents the description of a partition within a topic. Used for result of DescribeTopics for an individual topic.
Inheritance
System.Object
TopicPartitionInfo
Inherited Members
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
Assembly: cs.temp.dll.dll
Syntax
public class TopicPartitionInfo
Properties
ISR
In-sync replica brokers list.
Declaration
public List<Node> ISR { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.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 |
---|---|
System.Int32 |
Replicas
Replica brokers list.
Declaration
public List<Node> Replicas { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Node> |
Methods
ToString()
Returns a JSON representation of this object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A JSON representation of this object. |
Overrides
System.Object.ToString()