mfontanini / cppkafka

Modern C++ Apache Kafka client library (wrapper for librdkafka)
BSD 2-Clause "Simplified" License
587 stars 207 forks source link

cppkafka::produce not flushing #314

Open Naseefabu opened 6 months ago

Naseefabu commented 6 months ago

https://stackoverflow.com/questions/77996984/cppkafka-bufferedproducerproduce-not-flushing-the-queue if someone can please tell me what is going on that will be really helpful. Or should i use Producer class instead of BufferedProducer ?? because i dont need to create our own flush mechanism where its more error prone, because lets say if there are no events and then checking based on buffer size full or not to flush will results in no flush at all.