Skip to content

How to resolve InvalidCommitOffsetSizeError? #2322

@xzhuang000

Description

@xzhuang000

Hi everyone,
When I was trying to manually commit the consumer offset, I got this InvalidCommitOffsetSizeError error, is anyone familiar with this error and can give me some hints, e.g. what should I check? In addition, when the consumer does the auto commit, it also has the similar InvalidCommitOffsetSizeError issue.

     kafka_consumer.commit()
   File "/app/venv/local/lib/python2.7/site-packages/kafka/consumer/group.py", line 520, in commit
     self._coordinator.commit_offsets_sync(offsets)
   File "/app/venv/local/lib/python2.7/site-packages/kafka/coordinator/consumer.py", line 514, in commit_offsets_sync
     raise future.exception # pylint: disable-msg=raising-bad-type
 kafka.errors.InvalidCommitOffsetSizeError: [Error 28] InvalidCommitOffsetSizeError

Kafka-python version: 1.1.1
Kafka broker version: wurstmeister/kafka:2.12-2.3.0 (docker image provided by wurstmeister)

Thank you very much!

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