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

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.

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.

Requires the sent messages to be acknowledged by all in-sync replicas of the targeted topic partitions.

Trait Implementations

impl Debug for RequiredAcks
[src]

[src]

Formats the value using the given formatter.

impl Copy for RequiredAcks
[src]

impl Clone for RequiredAcks
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more