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

Thread safety issue in the piece of code example of dev/stream/testing document

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      As mentioned by Gilles in user ML[1], the piece of code example has thread safety issue.

      One possibility is use Collections.synchronizedList() to create a thread-safety list and remove the synchronized keyword.

      [1] http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Documentation-issue-maybe-td30929.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            docete Zhenghua Gao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: