Google Cloud Managed Kafka V1 Client - Class ConsumerPartitionMetadata (0.6.0)

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 \ V1

Methods

Constructor.

Parameters
Name
Description
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.

Required. The current offset for this partition, or 0 if no offset has been committed.

Returns
Type
Description
int|string

Required. The current offset for this partition, or 0 if no offset has been committed.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

Optional. The associated metadata for this partition, or empty if it does not exist.

Returns
Type
Description
string

Optional. The associated metadata for this partition, or empty if it does not exist.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: