pub struct KfListOffsetRequest {
pub replica_id: i32,
pub isolation_level: Isolation,
pub topics: Vec<ListOffsetTopic>,
}
Fields§
§replica_id: i32
The broker ID of the requestor, or -1 if this request is being made by a normal consumer.
isolation_level: Isolation
This setting controls the visibility of transactional records. Using READ_UNCOMMITTED (isolation_level = 0) makes all records visible. With READ_COMMITTED (isolation_level = 1), non-transactional and COMMITTED transactional records are visible. To be more concrete, READ_COMMITTED returns all data from offsets smaller than the current LSO (last stable offset), and enables the inclusion of the list of aborted transactions in the result, which allows consumers to discard ABORTED transactional records
topics: Vec<ListOffsetTopic>
Each topic in the request.
Trait Implementations§
Source§impl Debug for KfListOffsetRequest
impl Debug for KfListOffsetRequest
Source§impl Decoder for KfListOffsetRequest
impl Decoder for KfListOffsetRequest
Source§impl Default for KfListOffsetRequest
impl Default for KfListOffsetRequest
Source§impl<'de> Deserialize<'de> for KfListOffsetRequest
impl<'de> Deserialize<'de> for KfListOffsetRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Encoder for KfListOffsetRequest
impl Encoder for KfListOffsetRequest
Source§impl Request for KfListOffsetRequest
impl Request for KfListOffsetRequest
const API_KEY: u16 = 2u16
const MIN_API_VERSION: i16 = 0i16
const MAX_API_VERSION: i16 = 5i16
const DEFAULT_API_VERSION: i16 = 5i16
type Response = KfListOffsetResponse
Auto Trait Implementations§
impl Freeze for KfListOffsetRequest
impl RefUnwindSafe for KfListOffsetRequest
impl Send for KfListOffsetRequest
impl Sync for KfListOffsetRequest
impl Unpin for KfListOffsetRequest
impl UnwindSafe for KfListOffsetRequest
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