Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-16876

Make TtlTimeProvider configurable when creating keyed state backend

    XMLWordPrintableJSON

Details

    • Hide
      the original problem to motivate this ticket is resolved through FLINK-16949
      Show
      the original problem to motivate this ticket is resolved through FLINK-16949

    Description

      Currently, we would always use TtlTimeProvider.DEFAULT to create keyed state backend. This is somehow acceptable since we only support processing time for TTL now. However, this would make UT tests which would verify TTL logic not so convenient like FLINK-16581.

      I propose to let TtlTimeProvider configurable when creating keyed state backend to not block other feature development.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yunta Yun Tang
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: