Struct kafka::client::fetch::Response
[−]
[src]
pub struct Response { /* 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
[src]
Retrieves the id corresponding to the fetch messages request (provided for debugging purposes only).
fn topics<'a>(&'a self) -> &[Topic<'a>]
[src]
Provides an iterator over all the topics and the fetched data relative to these topics.