kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dong Lin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-6285) OffsetCommitRequest should have read-after-write logic
Date Wed, 29 Nov 2017 19:45:00 GMT
Dong Lin created KAFKA-6285:

             Summary: OffsetCommitRequest should have read-after-write logic
                 Key: KAFKA-6285
                 URL: https://issues.apache.org/jira/browse/KAFKA-6285
             Project: Kafka
          Issue Type: Bug
            Reporter: Dong Lin
            Assignee: Dong Lin

Currently OffsetCommitRequest does not have read-after-write logic and a consumer can possibly
read an older offset value after successfully committing the offset. This is because broker
may respond to OffsetCommitRequest before writing offset to the disk and the memory.

This is probably not a problem for most users who do not immediately read offset after committing
offset. But it can be a problem if broker fails before writing offset to disk. It will be
nice if we can have read-after-write logic for OffsetCommitRequest.

This message was sent by Atlassian JIRA

View raw message