Hi folks,
For this parameters, if consumer.timeout.ms is set to 0, whenever I call ConsumerIterator's hasNext(),
if there is a message available, a timeout exception will be thrown. Is my understanding correct? Thanks.
consumer.timeout.ms
-1
Throw a timeout exception to the consumer if no message is available for consumption after the specified interval
Regards,
Libo
For this parameters, if consumer.timeout.ms is set to 0, whenever I call ConsumerIterator's hasNext(),
if there is a message available, a timeout exception will be thrown. Is my understanding correct? Thanks.
consumer.timeout.ms
-1
Throw a timeout exception to the consumer if no message is available for consumption after the specified interval
Regards,
Libo