pub struct ShareFetchRequestV2 {Show 14 fields
pub correlation_id: i32,
pub client_id: Option<String>,
pub group_id: Option<String>,
pub member_id: Option<String>,
pub share_session_epoch: i32,
pub max_wait_ms: i32,
pub min_bytes: i32,
pub max_bytes: i32,
pub max_records: i32,
pub batch_size: i32,
pub share_acquire_mode: i8,
pub is_renew_ack: bool,
pub topics: Vec<ShareFetchTopicV1>,
pub forgotten_topics: Vec<ShareForgottenTopicV1>,
}Expand description
ShareFetch v2 request with KIP-1206 acquisition and KIP-1222 renewal fields.
The response schema remains the ShareFetch v1 response shape.
Fields§
§correlation_id: i32§client_id: Option<String>§group_id: Option<String>§member_id: Option<String>§max_wait_ms: i32§min_bytes: i32§max_bytes: i32§max_records: i32§batch_size: i32KIP-1206 mode: 0 for batch-optimized or 1 for record-limit.
is_renew_ack: boolKIP-1222 renew marker. KIP-1206 callers must send false.
topics: Vec<ShareFetchTopicV1>§forgotten_topics: Vec<ShareForgottenTopicV1>Implementations§
Trait Implementations§
Source§fn clone(&self) -> ShareFetchRequestV2
fn clone(&self) -> ShareFetchRequestV2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more