Return true if the topic was terminated and this consumer has already consumed all the messages in the topic.
Return true if the topic was terminated and this consumer has already consumed all the messages in the topic.
Please note that this does not simply mean that the consumer is caught up with the last message published by producers, rather the topic needs to be explicitly "terminated".
Receive a single message waiting up to the given duration if necessary.
Receive a single message waiting up to the given duration if necessary. If no message is received within the duration then None is returned.
Receives a single message.
Receives a single message. This calls blocks until a message is available.