Struct kafka::consumer::Message [] [src]

pub struct Message<'a> {
    pub offset: i64,
    pub key: &'a [u8],
    pub value: &'a [u8],
}

A fetched message from a remote Kafka broker for a particular topic partition.

Fields

The offset at which this message resides in the remote kafka broker topic partition.

The "key" data of this message. Empty if there is no such data for this message.

The value data of this message. Empty if there is no such data for this message.

Trait Implementations

impl<'a> Debug for Message<'a>
[src]

[src]

Formats the value using the given formatter.