You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Luis Cabral (JIRA)" <ji...@apache.org> on 2018/06/15 08:32:00 UTC

[jira] [Created] (KAFKA-7061) Enhanced log compaction

Luis Cabral created KAFKA-7061:
----------------------------------

             Summary: Enhanced log compaction
                 Key: KAFKA-7061
                 URL: https://issues.apache.org/jira/browse/KAFKA-7061
             Project: Kafka
          Issue Type: Improvement
          Components: core
    Affects Versions: 2.0.0
            Reporter: Luis Cabral
             Fix For: 2.1.0


Enhance log compaction to support more than just offset comparison, so the insertion order isn't dictating which records to keep.

Default behavior is kept as it was, with the enhanced approached having to be purposely activated.
The enhanced compaction is done either via the record timestamp, by settings the new configuration as "timestamp" or via the record headers by setting this configuration to anything other than the default "offset" or the reserved "timestamp".

See [KIP-280|https://cwiki.apache.org/confluence/display/KAFKA/KIP-280%3A+Enhanced+log+compaction] for more details.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)