Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-2687 Elasticity: scale up task count beyond the input partition count.
  3. SAMZA-2733

[Elasticity] Compute last processed offsets when container starts up using checkpoints from previous deploys when elasticity was enabled

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Checkpoint key contains task name and that task name is used for last processed offsets when container starts up. However, with elasticity task names change as follows from "Partition 0" to "Partition 0_1_2" (0 is the input partition, 1 is the key bucket and 2 is the elasticity factor). Thus when elasticity is enabled then computing last processed offsets need to take into account both Partition 0 and Partition 0_1_2 when computing checkpoint for either. 

      This ticket is to update the OffsetManager to  do this computation for elasticity

      Attachments

        Activity

          People

            lakshmi-manasa Lakshmi Manasa Gaduputi
            lakshmi-manasa Lakshmi Manasa Gaduputi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 10m
                3h 10m