Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4015

Change cleanup.policy config to accept a list of valid policies

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1.0
    • 0.10.1.0
    • core
    • None

    Description

      There are some use cases where it is desirable to have a topic that supports both compact and delete policies, i.e., any topic that wants to be compacted by key, but also wants keys that haven't been updated for some time to be automatically expired.

      Add a new compact_and_delete option to cleanup.policy. When set, both compact and delete cleanup strategies should run. This change needs to guarantee thread-safety.

      Attachments

        Issue Links

          Activity

            People

              damianguy Damian Guy
              damianguy Damian Guy
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: