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 02:51:04 UTC

[jira] [Created] (KAFKA-5201) Compacted topic could be misused up to fill a disk;

Edoardo Comar created KAFKA-5201:
------------------------------------

             Summary: Compacted topic could be misused up to fill a disk; 
                 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)