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

Support binding port range for REST server

    XMLWordPrintableJSON

Details

    Description

      Currently the RestServerEndpoint binds to the port specified by RestOptions#PORT. PORT is of type integer. Sometimes, it would be useful to being able to specify not only a single port but a port range to pick a port from. Therefore, I propose to add similar to RestOptions#BIND_ADDRESS another option RestOptions#BIND_PORT which allows to specify a port range for the RestServerEndpoint to pick a port from. RestOptions#PORT would then only be used by the client to connect to the started RestServerEndpoint.

      Attachments

        Issue Links

          Activity

            People

              yanghua vinoyang
              trohrmann Till Rohrmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m