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

Add Job ID to RuntimeContext

    XMLWordPrintableJSON

Details

    Description

      (the issue added retroactively after the PR was merged for reference)

       

      There are some cases (e.g. 1, 2) when job ID needs to be accessed from the user code (function).
      Existing workarounds doesn't look clean (reliable).

       

      One solution discussed offline is to add Optional<JobID> to the RuntimeContext (the latter already contains some information of the same level, such as subtask index).

      Attachments

        Issue Links

          Activity

            People

              roman Roman Khachatryan
              roman Roman Khachatryan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: