Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-13753 Integrate new Source Operator with Mailbox Model in StreamTask
  3. FLINK-13764

Pass the counter of numRecordsIn into the constructor of StreamInputProcessor

    XMLWordPrintableJSON

    Details

      Description

      Currently the counter of numRecordsIn is setup while processing input in processor. In order to integrate the processing logic based on StreamTaskInput#emitNext(Output) later, we need to pass the counter into output functions then. So there are three reasons to do this:

      • It is the precondition of following integration work.
      • We could make the counter as final fields in StreamInputProcessor and StreamTwoInputSelectableProcessor.
      • We could reuse the counter setup logic for all the input processors.

      There should be no side effects if we make the counter setup a bit earlier than the previous way.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zjwang zhijiang
                Reporter:
                zjwang zhijiang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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