confluent-kafka-dotnet
Show / Hide Table of Contents

Class ConsumerGroupTopicPartitionOffsets

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

Inheritance
object
ConsumerGroupTopicPartitionOffsets
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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.

Overrides
object.ToString()
In this article