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

WindowStore should use "delete" policy when duplicates are enabled

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.0
    • streams
    • None

    Description

      For stream-stream join, windowed stores are configures to retain duplicates. For this case, each key written into the store is unique.

      At the same time, windowed store changelog topics are configured with cleanup policy "delete,compact" by default. However, with retained duplicates, and thus effectively unique keys, log compaction does not make sense.

      To avoid keeping the broker log compaction thread busy without doing actual useful work for those topics, we should change the topic config to "delete" if duplicates are retained.

      Attachments

        Issue Links

          Activity

            People

              mjsax Matthias J. Sax
              mjsax Matthias J. Sax
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: