You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Paolo Patierno (JIRA)" <ji...@apache.org> on 2017/09/18 09:43:02 UTC
[jira] [Created] (KAFKA-5919) Delete records command "version"
parameter ignored
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)