[
https://issues.apache.org/jira/browse/KAFKA-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102157#comment-13102157
]
Prashanth Menon commented on KAFKA-70:
--------------------------------------
Hi Joel,
Looking through Log.loadSegments it looks like the segments (if any were found)
are already sorted in order of ascending offset. This effectively solves the
problem, no?
- Prashanth
> 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
>
>
> 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