Class: Google::Cloud::ManagedKafka::V1::ConsumerPartitionMetadata

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/managedkafka/v1/resources.rb

Overview

Metadata for a consumer group corresponding to a specific partition.

Instance Attribute Summary collapse

Instance Attribute Details

#metadata::String

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

Returns:

  • (::String)

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



232
233
234
235
# File 'proto_docs/google/cloud/managedkafka/v1/resources.rb', line 232

class ConsumerPartitionMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#offset::Integer

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

Returns:

  • (::Integer)

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



232
233
234
235
# File 'proto_docs/google/cloud/managedkafka/v1/resources.rb', line 232

class ConsumerPartitionMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end