You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by 刘林 <li...@chinaums.com> on 2017/12/26 12:44:04 UTC

Kafka Producer and Consumer long polling for efficiency

Hi,

 

We designed a unified REST gateway to post data to kafka and get data from
kafka, then how can I send and consume the kafka data efficiency using long
polling. I do not want to new KafkaConsumer/KafkaProducer and close it every
time. Is there any ways to realize it? 

 

Thanks!