Inability to Consume Message

Last updated: 2021-09-10 16:08:46

    What should I do if the client cannot consume messages?

    Error description

    The consumer cannot pull messages.

    Possible causes

    Check whether the consumer group has a heap. If there is no heap, an empty message will be returned after the fetch.max.wait time elapses. This parameter is configured by the consumer client and 500 ms by default as shown below:

    # Fetch request wait time
    fetch.max.wait.ms=500
    

    Solution

    • If messages heap up, but no messages are pulled, we recommend you check the client SDK version. If the SDK version is low, please upgrade it as instructed in SDK Overview.
    • You can also contact us for assistance.