Struct kafka::producer::Topics [] [src]

pub struct Topics<'a> {
    // some fields omitted
}

A description of available topics and their available partitions.

Indented for use by Partitioners.

Methods

impl<'a> Topics<'a>
[src]

fn partition_ids(&self, topic: &'a str) -> Option<&[i32]>

Retrieves a list of the identifiers of available partitions for the given topic.