Interface CoordinationRequestGateway

    • Method Detail

      • sendCoordinationRequest

        CompletableFuture<CoordinationResponse> sendCoordinationRequest​(String operatorUid,
                                                                        CoordinationRequest request)
        Send out a request to a specified coordinator and return the response.

        On the client side, a unique operatorUid must be defined to identify an operator. Otherwise, the query cannot be executed correctly. Note that we use operatorUid instead of operatorID because the latter is an internal runtime concept that cannot be recognized by the client.

        Parameters:
        operatorUid - specifies which coordinator to receive the request
        request - the request to send
        Returns:
        the response from the coordinator