Enum kafka::client::RequiredAcks
[−]
[src]
pub enum RequiredAcks { None, One, All, }
Possible choices on acknowledgement requirements when
producing/sending messages to Kafka. See
KafkaClient::produce_messages
.
Variants
None
Indicates to the receiving Kafka broker not to acknowlegde messages sent to it at all. Sending messages with this acknowledgement requirement translates into a fire-and-forget scenario which - of course - is very fast but not reliable.
One
Requires the receiving Kafka broker to wait until the sent messages are written to local disk. Such messages can be regarded as acknowledged by one broker in the cluster.
All
Requires the sent messages to be acknowledged by all in-sync replicas of the targeted topic partitions.
Trait Implementations
impl Debug for RequiredAcks
[src]
impl Copy for RequiredAcks
[src]
impl Clone for RequiredAcks
[src]
fn clone(&self) -> RequiredAcks
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more