Reference documentation and code samples for the Apache Kafka for BigQuery 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 offset for this partition, or 0 if no offset has been committed.
#offset=
def offset=(value) -> ::Integer
Parameter
- value (::Integer) — Required. The offset for this partition, or 0 if no offset has been committed.
Returns
- (::Integer) — Required. The offset for this partition, or 0 if no offset has been committed.