confluent-kafka-dotnet
Show / Hide Table of Contents

Class ConsumerGroupTopicPartitions

Represents a Kafka tuple (consumer group, list of TopicPartions).

Inheritance
System.Object
ConsumerGroupTopicPartitions
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 ConsumerGroupTopicPartitions

Constructors

ConsumerGroupTopicPartitions(String, List<TopicPartition>)

Initializes a new ConsumerGroupTopicPartitions instance.

Declaration
public ConsumerGroupTopicPartitions(string group, List<TopicPartition> topicPartitions)
Parameters
Type Name Description
System.String group

Kafka consumer group ID.

System.Collections.Generic.List<TopicPartition> topicPartitions

A list of Kafka (topic, partition) tuples.

Properties

Group

Gets the Kafka consumer group ID.

Declaration
public string Group { get; }
Property Value
Type Description
System.String

TopicPartitions

Gets the list of Kafka (topic, partition) tuples.

Declaration
public List<TopicPartition> TopicPartitions { get; }
Property Value
Type Description
System.Collections.Generic.List<TopicPartition>

Methods

ToString()

Returns a string representation of the ConsumerGroupTopicPartitions object.

Declaration
public override string ToString()
Returns
Type Description
System.String

A string that represents the ConsumerGroupTopicPartitions object.

Overrides
System.Object.ToString()
In This Article