Struct kafka::client::fetch::Response [] [src]

pub struct Response {
    // some fields omitted
}

The result of a "fetch messages" request from a particular Kafka broker. Such a response can contain messages for multiple topic partitions.

Methods

impl Response
[src]

fn correlation_id(&self) -> i32

Retrieves the id corresponding to the fetch messages request (provided for debugging purposes only).

fn topics<'a>(&'a self) -> &[Topic<'a>]

Provides an iterator over all the topics and the fetched data relative to these topics.