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

Changelog retention period doesn't synchronise with window-store size

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • streams
    • None

    Description

      When a new windowed state store is created, the associated changelog topic's `retention.ms` value is set to `window-size + CHANGELOG_ADDITIONAL_RETENTION_MS`

      Expected Behaviour

      If the window-size is updated, the changelog topic's `retention.ms` config should be updated to reflect the new size

      Actual Behaviour

      The changelog-topic's `retention.ms` setting is not amended, resulting in possible loss of data upon application restart

       

      n.b. Although it is easy to update changelog topic config, I logged this as `major` due to the potential for data-loss for any user of Kafka-Streams who may not be intimately aware of the relationship between a windowed store and the changelog config

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jonmbates Jon Bates
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: