You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Edoardo Comar (JIRA)" <ji...@apache.org> on 2017/05/09 15:36:05 UTC
[jira] [Resolved] (KAFKA-5201) Compacted topic could be misused to
fill up a disk but deletion policy can't retain legitimate keys
[ https://issues.apache.org/jira/browse/KAFKA-5201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edoardo Comar resolved KAFKA-5201.
----------------------------------
Resolution: Not A Problem
> Compacted topic could be misused to fill up a disk but deletion policy can't retain legitimate keys
> ----------------------------------------------------------------------------------------------------
>
> Key: KAFKA-5201
> URL: https://issues.apache.org/jira/browse/KAFKA-5201
> Project: Kafka
> Issue Type: Improvement
> Reporter: Edoardo Comar
>
> Misuse of a topic with cleanup policy = compact
> could lead to a disk being filled if a misbehaving producer keeps producing messages with unique keys.
> The mixed cleanup policy compact,delete could be adopted, but would not guarantee that the latest "legitimate" keys will be kept.
> It would be desirable to have a cleanup policy that attempts to preserve messages with 'legitimate' keys
> This issue needs a KIP but I have no proposed solution yet at the time of writing.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)