Kafka REST Proxy sometimes read nothing from an non-empty topics on the first run

296 views
Skip to first unread message

Yiwei Chen

unread,
Jun 22, 2016, 2:48:47 PM6/22/16
to Confluent Platform
Hello,

I am using Confluence Platform 2.0.1 to provide a Rest API Consumer solution for my Kafka Cluster.

The API works well on creating and deleting consumer. However, sometimes it returns "[ ]" when I consume the the topics the first time after creating the consumer. I need to request the same API again to get the desire message.

Does anyone know how to fix it? Thank you so much!

Ewen Cheslack-Postava

unread,
Jul 19, 2016, 11:10:51 PM7/19/16
to Confluent Platform
Not every request is guaranteed to return data. In fact, this would be normal if you had a topic that infrequently received data. The empty list just indicates no data was fetched in the period that request was waiting at the proxy for data.

-Ewen

--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platf...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/54c406f8-f07b-4f25-8d50-b67403dbabd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks,
Ewen
Reply all
Reply to author
Forward
0 new messages