Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Non-blocking High-Level Consumer

$
0
0
Hi,

Is it possible to read all available messages with HLC in a
non-blocking way? E.g. read all messages and not wait for more
messages to appear in the topic.

As far as I understand, currently one has to keep high-level consumer
in a separate thread until it is shut down explicitly, but how can one
check if all available messages are in fact consumed?

Thanks,

Viewing all articles
Browse latest Browse all 5648

Trending Articles