public sealed class ConsumerPartitionMetadata : IMessage<ConsumerPartitionMetadata>, IEquatable<ConsumerPartitionMetadata>, IDeepCloneable<ConsumerPartitionMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Managed Service for Apache Kafka API v1 API class ConsumerPartitionMetadata.
Metadata for a consumer group corresponding to a specific partition.
Implements
IMessageConsumerPartitionMetadata, IEquatableConsumerPartitionMetadata, IDeepCloneableConsumerPartitionMetadata, IBufferMessage, IMessageNamespace
Google.Cloud.ManagedKafka.V1Assembly
Google.Cloud.ManagedKafka.V1.dll
Constructors
ConsumerPartitionMetadata()
public ConsumerPartitionMetadata()
ConsumerPartitionMetadata(ConsumerPartitionMetadata)
public ConsumerPartitionMetadata(ConsumerPartitionMetadata other)
Parameter | |
---|---|
Name | Description |
other |
ConsumerPartitionMetadata |
Properties
Metadata
public string Metadata { get; set; }
Optional. The associated metadata for this partition, or empty if it does not exist.
Property Value | |
---|---|
Type | Description |
string |
Offset
public long Offset { get; set; }
Required. The current offset for this partition, or 0 if no offset has been committed.
Property Value | |
---|---|
Type | Description |
long |