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

A bug in the BufferingSink example in the doc

    XMLWordPrintableJSON

Details

    Description

      The following line in the BufferingSink on this page has a bug:

      if (bufferedElements.size() == threshold) {

      It should be >= instead of == , because when restoring from a checkpoint during downscaling, the task may get more elements than the threshold. 

      Attachments

        Activity

          People

            qinjunjerry Jun Qin
            qinjunjerry Jun Qin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: