Paolo Patierno created KAFKA-5919:
-------------------------------------

             Summary: Delete records command "version" parameter ignored
                 Key: KAFKA-5919
                 URL: https://issues.apache.org/jira/browse/KAFKA-5919
             Project: Kafka
          Issue Type: Bug
          Components: tools
            Reporter: Paolo Patierno
            Assignee: Paolo Patierno
            Priority: Minor


Hi,
the kafka-delete-records script allows user to pass information about records 
to delete through a JSON file. Such file, as described in the command help, is 
made by a "partitions" array and a "version" field. Reading 
[KIP-107|https://cwiki.apache.org/confluence/display/KAFKA/KIP-107%3A+Add+purgeDataBefore%28%29+API+in+AdminClient]
 and the DeleteRecords API (Key: 21) description it's not clear what such field 
is and even it's not used at all (in the current implementation).
I'm going to remove it from tool help description and it should not need a KIP 
because today it's just ignored and even using a JSON file without "version" 
the tool just works.
[~lindong] you implemented such delete command, are my considerations right ?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to