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

Remove AkkaUtils.ask to encourage explicit future handling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      AkkaUtils.ask asks another actor and awaits its response. Since this constitutes a blocking call, it might be potentially harmful when used in an actor thread. In order to encourage developers to program asynchronously I propose to remove this helper function. That forces the developer to handle futures explicitly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            trohrmann Till Rohrmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: