Skip to content

Consumer poll skipping message without a timeout #1803

@bmoscon

Description

@bmoscon

I'm writing roughly 60-80 messages a second to kafka. I'm attempting to poll with no arguments, and I'll typically get about 1/2 the expected messages the first time I poll, and then 0 messages on subsequent polls, even thought the offset continues to increase each time I poll (I'm checking with end_offsets and I see the offset increasing as expected). I've tried polling more frequently, less frequently, etc to no avail. I've also tried using the timeout option, and that seems to help, but it doesn't give all updates (same behavior as #1802) and typically returns about 1/2 of the updates each time.

Is this a defect, or am I using poll incorrectly? Is there an expectation that it be called within a specific interval?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions