Class ConsumerGroupTopicPartitionOffsets
Represents a Kafka tuple (consumer group, list of TopicPartitionOffsets).
Inherited Members
Namespace: Confluent.Kafka
Assembly: Confluent.Kafka.dll
Syntax
public class ConsumerGroupTopicPartitionOffsets
Constructors
ConsumerGroupTopicPartitionOffsets(string, List<TopicPartitionOffset>)
Initializes a new ConsumerGroupTopicPartitionOffsets instance.
Declaration
public ConsumerGroupTopicPartitionOffsets(string group, List<TopicPartitionOffset> topicPartitionOffsets)
Parameters
Type | Name | Description |
---|---|---|
string | group | Kafka consumer group ID. |
List<TopicPartitionOffset> | topicPartitionOffsets | A list of Kafka (topic, partition) tuples. |
Properties
Group
Gets the Kafka consumer group ID.
Declaration
public string Group { get; }
Property Value
Type | Description |
---|---|
string |
TopicPartitionOffsets
Gets the list of Kafka (topic, partition) tuples.
Declaration
public List<TopicPartitionOffset> TopicPartitionOffsets { get; }
Property Value
Type | Description |
---|---|
List<TopicPartitionOffset> |
Methods
ToString()
Returns a string representation of the ConsumerGroupTopicPartitionOffsets object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the ConsumerGroupTopicPartitionOffsets object. |