pub struct RoundRobinAssignor;Expand description
One partition at a time around the members, Java’s RoundRobinAssignor.
Every (topic, partition) in the group is laid out in order and dealt to
the members in turn, skipping a member that did not subscribe to that topic.
Balances across topics, which Range does not; in exchange it moves almost
every partition when membership changes, which is what sticky addresses.
Trait Implementations§
Source§impl Assignor for RoundRobinAssignor
impl Assignor for RoundRobinAssignor
Source§impl Clone for RoundRobinAssignor
impl Clone for RoundRobinAssignor
Source§fn clone(&self) -> RoundRobinAssignor
fn clone(&self) -> RoundRobinAssignor
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 moreimpl Copy for RoundRobinAssignor
Source§impl Debug for RoundRobinAssignor
impl Debug for RoundRobinAssignor
Source§impl Default for RoundRobinAssignor
impl Default for RoundRobinAssignor
Source§fn default() -> RoundRobinAssignor
fn default() -> RoundRobinAssignor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RoundRobinAssignor
impl RefUnwindSafe for RoundRobinAssignor
impl Send for RoundRobinAssignor
impl Sync for RoundRobinAssignor
impl Unpin for RoundRobinAssignor
impl UnsafeUnpin for RoundRobinAssignor
impl UnwindSafe for RoundRobinAssignor
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