Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::V1::ConsumerTopicMetadata.
Metadata for a consumer group corresponding to a specific topic.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#partitions
def partitions() -> ::Google::Protobuf::Map{::Integer => ::Google::Cloud::ManagedKafka::V1::ConsumerPartitionMetadata}
Returns
- (::Google::Protobuf::Map{::Integer => ::Google::Cloud::ManagedKafka::V1::ConsumerPartitionMetadata}) — Optional. Metadata for this consumer group and topic for all partition indexes it has metadata for.
#partitions=
def partitions=(value) -> ::Google::Protobuf::Map{::Integer => ::Google::Cloud::ManagedKafka::V1::ConsumerPartitionMetadata}
Parameter
- value (::Google::Protobuf::Map{::Integer => ::Google::Cloud::ManagedKafka::V1::ConsumerPartitionMetadata}) — Optional. Metadata for this consumer group and topic for all partition indexes it has metadata for.
Returns
- (::Google::Protobuf::Map{::Integer => ::Google::Cloud::ManagedKafka::V1::ConsumerPartitionMetadata}) — Optional. Metadata for this consumer group and topic for all partition indexes it has metadata for.