Skip to content

auto commit never executed with api_version 0.8.1 #1594

Closed
@gaetano-guerriero

Description

@gaetano-guerriero

Hello,
I'm using KafkaConsumer with api_version=(0, 8, 1) and enable_auto_commit=True.
I need to use api_version 0.8.1 since the consumer I'm migrating from uses OffsetCommitRequest version 0 and so stores offsets on zookeeper.

The offsets are not periodically committed as expected. From what I can understand this is due to early exit in coordinator.ConsumerCoordinator.poll()

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