Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4346 Implement basic RPC abstraction
  3. FLINK-4580

Check that the RpcEndpoint supports the specified RpcGateway

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.0
    • None
    • Runtime / Coordination
    • None

    Description

      When calling RpcService.connect the user specifies the type of the RpcGateway. At the moment, it is not checked whether the RpcEndpoint actually supports the specified RpcGateway.

      I think it would be good to add a runtime check that the corresponding RpcEndpoint supports the specified RpcGateway. If not, then we can let the connect method fail fast.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: