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

Satish Babu Bellapu commented on KAFKA-9157:
--------------------------------------------

[~junrao] i am newbie to the ASF Kafka contribution, can you please elaborate 
little bit more on this issue/enhancement so that i can try a shot.

Which corner-case do you see the 0-byte log can be generated?

 

> logcleaner could generate empty segment files after cleaning
> ------------------------------------------------------------
>
>                 Key: KAFKA-9157
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9157
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 2.3.0
>            Reporter: Jun Rao
>            Priority: Major
>
> Currently, the log cleaner could only combine segments within a 2-billion 
> offset range. If all records in that range are deleted, an empty segment 
> could be generated. It would be useful to avoid generating such empty 
> segments.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to