Function producer

Source
pub async fn producer(broker_addr: &str, datadir: String)
Expand description

Create a kafka producer for the topics and data in datadir.