cppkafka icon indicating copy to clipboard operation
cppkafka copied to clipboard

Question

Open accelerated opened this issue 5 years ago • 0 comments

Hi @mfontanini, would you consider moving the Producer::poll() overloads into KafkaHandleBase::poll() instead? This can actually be used by consumers as well and there are cases when you want to poll a consumer for events but not get any messages. Say a separate thread handling events only. Currently the only way is to call rd_kafka_poll() directly but it's the C api and it defeats the purpose of using cppkafka. This will break ABI but I think it's worth it. It could be done by issuing a new release (which is overdue IMHO).

accelerated avatar Feb 05 '20 20:02 accelerated