Trait ConsumerGroup

Source
pub trait ConsumerGroup {
    // Required method
    fn group() -> String;
}
Expand description

Consumer Group trait, giving the group to use

Only one consumer within the same group will get an event

Required Methods§

Source

fn group() -> String

the consumer group to use

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§