confluent-kafka-dotnet
Show / Hide Table of Contents

Class ConsumerGroupTopicPartitionOffsets

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

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

Constructors

ConsumerGroupTopicPartitionOffsets(String, List<TopicPartitionOffset>)

Initializes a new ConsumerGroupTopicPartitionOffsets instance.

Declaration
public ConsumerGroupTopicPartitionOffsets(string group, List<TopicPartitionOffset> topicPartitionOffsets)
Parameters
Type Name Description
System.String group

Kafka consumer group ID.

System.Collections.Generic.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
System.String

TopicPartitionOffsets

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

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

Methods

ToString()

Returns a string representation of the ConsumerGroupTopicPartitionOffsets object.

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

A string that represents the ConsumerGroupTopicPartitionOffsets object.

Overrides
System.Object.ToString()
In This Article