Commit 0f0cff91 authored by Christopher Reis's avatar Christopher Reis

Removed producer wait loop

parent 811a38a6
......@@ -330,10 +330,10 @@ void KafkaConnection::mwPublish(const Message& message, const Config& config)
producer->poll(0);
}
while (run && producer->outq_len() > 0) {
std::cerr << "Waiting for " << producer->outq_len() << std::endl;
producer->poll(250);
}
// while (run && producer->outq_len() > 0) {
// std::cerr << "Waiting for " << producer->outq_len() << std::endl;
// producer->poll(250);
// }
GMSEC_DEBUG << "gmsec_kafka:KafkaConnection::Publish(things)" << '\n' << message.toXML() ;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment