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

scala code in "Writing WatermarkGenerators" documentation missing/deprecated

    XMLWordPrintableJSON

Details

    Description

      Hi all,

      I belive the scala code in the "Writing a Periodic WatermarkGenerator" and "Writing a Punctuated WatermarkGenerator" sections (Event Time -> Generating Watermark) is outdated/wrong.
      And it's also missing in the previous section "Writing WatermarkGenerators".

      It uses undefined arguments (output) – the onEvent and onPeriodicEmit methods have the wrong signatures.

      If it's alright I can put up a PR with the scala code on how to extend WatermarkGenerator class and some comment.

      Also sorry if I misplaced this Issue, feel free to improve/correct

      Giack

      Attachments

        Issue Links

          Activity

            People

              giackgamba giackgamba
              giackgamba giackgamba
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: