pub enum GroupOffsetStorage {
Zookeeper,
Kafka,
}
Expand description
Defines the available storage types to utilize when fetching or
committing group offsets. See also KafkaClient::set_group_offset_storage
.
Variants§
Zookeeper
Zookeeper based storage (available as of kafka 0.8.1)
Kafka
Kafka based storage (available as of Kafka 0.8.2). This is the preferred method for groups to store their offsets at.
Trait Implementations§
Source§impl Clone for GroupOffsetStorage
impl Clone for GroupOffsetStorage
Source§fn clone(&self) -> GroupOffsetStorage
fn clone(&self) -> GroupOffsetStorage
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GroupOffsetStorage
impl Debug for GroupOffsetStorage
Source§impl PartialEq for GroupOffsetStorage
impl PartialEq for GroupOffsetStorage
impl Copy for GroupOffsetStorage
impl Eq for GroupOffsetStorage
impl StructuralPartialEq for GroupOffsetStorage
Auto Trait Implementations§
impl Freeze for GroupOffsetStorage
impl RefUnwindSafe for GroupOffsetStorage
impl Send for GroupOffsetStorage
impl Sync for GroupOffsetStorage
impl Unpin for GroupOffsetStorage
impl UnwindSafe for GroupOffsetStorage
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