Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::V1::ConsumerPartitionMetadata.
Metadata for a consumer group corresponding to a specific partition.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#metadata
def metadata() -> ::String
Returns
- (::String) — Optional. The associated metadata for this partition, or empty if it does not exist.
#metadata=
def metadata=(value) -> ::String
Parameter
- value (::String) — 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.
#offset
def offset() -> ::Integer
Returns
- (::Integer) — Required. The current offset for this partition, or 0 if no offset has been committed.
#offset=
def offset=(value) -> ::Integer
Parameter
- value (::Integer) — 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.