Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
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.