Using the high level consumer, each consumer in the group can call iter.next () 
in a loop until they get the number of messages you need.

—
Sent from Mailbox

On Thu, Oct 16, 2014 at 10:18 AM, Josh J <joshjd...@gmail.com> wrote:

> hi,
> How do I read N items from a topic? I also would like to do this for a
> consumer group, so that each consumer can specify an N number of tuples to
> read, and each consumer reads distinct tuples.
> Thanks,
> Josh

Reply via email to