Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class ConsumerPartitionMetadata.
Metadata for a consumer group corresponding to a specific partition.
Generated from protobuf message google.cloud.managedkafka.v1.ConsumerPartitionMetadata
Namespace
Google \ Cloud \ ManagedKafka \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ offset
int|string
Required. The current offset for this partition, or 0 if no offset has been committed.
↳ metadata
string
Optional. The associated metadata for this partition, or empty if it does not exist.
getOffset
Required. The current offset for this partition, or 0 if no offset has been committed.
int|string
setOffset
Required. The current offset for this partition, or 0 if no offset has been committed.
var
int|string
$this
getMetadata
Optional. The associated metadata for this partition, or empty if it does not exist.
string
setMetadata
Optional. The associated metadata for this partition, or empty if it does not exist.
var
string
$this