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

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

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.1.0
    • Fix Version/s: 0.10.1.0
    • Component/s: core
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: