You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Prashanth Menon (JIRA)" <ji...@apache.org> on 2011/09/13 04:20:08 UTC

[jira] [Issue Comment Edited] (KAFKA-70) Introduce retention setting that depends on space

    [ https://issues.apache.org/jira/browse/KAFKA-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13103279#comment-13103279 ] 

Prashanth Menon edited comment on KAFKA-70 at 9/13/11 2:19 AM:
---------------------------------------------------------------

Hi all, I've attached an updated patch for your consideration.  It now deletes segments leaving at least logRetentionSize space in the log.

      was (Author: prashanth.menon):
    Updated patch.
  
> Introduce retention setting that depends on space
> -------------------------------------------------
>
>                 Key: KAFKA-70
>                 URL: https://issues.apache.org/jira/browse/KAFKA-70
>             Project: Kafka
>          Issue Type: New Feature
>    Affects Versions: 0.8
>              Labels: log, roll
>         Attachments: KAFKA-70.patch, KAFKA-70_v2.patch
>
>
> Currently there is this setting: 
> log.retention.hours 
> introduce: 
> log.retention.size 
> Semantic would be, either size is reached or time is reached, oldest messages will be deleted. 
> This does not break back-ward compatibility and would make the system robust under scenarios where message size is not deterministic over time.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira