Jason Gustafson created KAFKA-4326:
--------------------------------------
Summary: Refactor LogCleaner to remove duplicate log copying logic
Key: KAFKA-4326
URL: https://issues.apache.org/jira/browse/KAFKA-4326
Project: Kafka
Issue Type: Improvement
Reporter: Jason Gustafson
Assignee: Jason Gustafson
I think there's some code duplication in the log cleaner with respect to the
copying of the log and re-compression after cleaning. We have similar logic
already in {{ByteBufferMessageSet}} which we can potentially reuse. This
improves encapsulation so that message format changes in the future become a
little easier (since they touch fewer components).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)