Struct fluvio_dataplane_protocol::fetch::FetchPartition[][src]

pub struct FetchPartition {
    pub partition_index: i32,
    pub current_leader_epoch: i32,
    pub fetch_offset: i64,
    pub log_start_offset: i64,
    pub max_bytes: i32,
}

Fields

partition_index: i32

The partition index.

current_leader_epoch: i32

The current leader epoch of the partition.

fetch_offset: i64

The message offset.

log_start_offset: i64

The earliest available offset of the follower replica. The field is only used when the request is sent by the follower.

max_bytes: i32

The maximum bytes to fetch from this partition. See KIP-74 for cases where this limit may not be honored.

Trait Implementations

Formats the value using the given formatter. Read more

decode Kafka compliant protocol values from buf

Returns the “default value” for a type. Read more

encoding contents for buffer

size of this object in bytes

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.