You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Neha Narkhede (JIRA)" <ji...@apache.org> on 2013/08/25 05:32:51 UTC

[jira] [Commented] (KAFKA-1023) Allow Injectable LogManager

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

Neha Narkhede commented on KAFKA-1023:
--------------------------------------

LogManager is an internal component of a Kafka server that manages a server's log storage. It may not be a good idea to make it pluggable. For the purposes of log backup into HDFS, it makes sense to use something like - https://github.com/linkedin/camus.
                
> Allow Injectable LogManager
> ---------------------------
>
>                 Key: KAFKA-1023
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1023
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>            Reporter: Micah Whitacre
>
> Currently the LogManager is responsible for deleting and cleaning up messages based on time or size.  It'd be nice to be able enhance the LogManager to not only perform the cleanup but maybe also backup the messages eligible for deletion to a custom location (hdfs).  This would allow a backup plan in the case of a consumer not able to keep up with the messages and data being lost due to log rolling.
> Currently LogManager is sealed so no one can extend it but additionally we'd need a way to inject the custom LogManager into the KafkaServer. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira