Google Cloud Managed Kafka V1 Client - Class ConsumerTopicMetadata (0.1.1)

Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class ConsumerTopicMetadata.

Metadata for a consumer group corresponding to a specific topic.

Generated from protobuf message google.cloud.managedkafka.v1.ConsumerTopicMetadata

Namespace

Google \ Cloud \ ManagedKafka \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ partitions array|Google\Protobuf\Internal\MapField

Optional. Metadata for this consumer group and topic for all partition indexes it has metadata for.

getPartitions

Optional. Metadata for this consumer group and topic for all partition indexes it has metadata for.

Returns
Type Description
Google\Protobuf\Internal\MapField

setPartitions

Optional. Metadata for this consumer group and topic for all partition indexes it has metadata for.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this