[ https://issues.apache.org/jira/browse/KAFKA-18003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Divij Vaidya resolved KAFKA-18003. ---------------------------------- Resolution: Fixed > add test to make sure `Admin#deleteRecords` can handle the corrupted records > ---------------------------------------------------------------------------- > > Key: KAFKA-18003 > URL: https://issues.apache.org/jira/browse/KAFKA-18003 > Project: Kafka > Issue Type: Sub-task > Reporter: Chia-Ping Tsai > Assignee: Kuan Po Tseng > Priority: Minor > Fix For: 4.0.0 > > > 1. produces some records to create one inactive segment > 2. manually load the segment file to corrupt the data > 3. failed to consume the all records due to corrupted record > 4. call `Admin.deleteRecords` to skip the corrupted record > 5. succeed to consume the all records due to corrupted record -- This message was sent by Atlassian Jira (v8.20.10#820010)