Interface JobMasterOperatorEventGateway
-
- All Known Subinterfaces:
JobMasterGateway
- All Known Implementing Classes:
JobMaster
public interface JobMasterOperatorEventGateway
Gateway to send anOperatorEvent
orCoordinationRequest
from the Task Manager to to theOperatorCoordinator
on the JobManager side.This is the first step in the chain of sending Operator Events from Operator to Coordinator. Each layer adds further context, so that the inner layers do not need to know about the complete context, which keeps dependencies small and makes testing easier.
OperatorEventGateway
takes the event, enriches the event with theOperatorID
, and forwards it to:TaskOperatorEventGateway
enriches the event with theExecutionAttemptID
and forwards it to the:JobMasterOperatorEventGateway
which is RPC interface from the TaskManager to the JobManager.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<Acknowledge>
sendOperatorEventToCoordinator(ExecutionAttemptID task, OperatorID operatorID, SerializedValue<OperatorEvent> event)
CompletableFuture<CoordinationResponse>
sendRequestToCoordinator(OperatorID operatorID, SerializedValue<CoordinationRequest> request)
-
-
-
Method Detail
-
sendOperatorEventToCoordinator
CompletableFuture<Acknowledge> sendOperatorEventToCoordinator(ExecutionAttemptID task, OperatorID operatorID, SerializedValue<OperatorEvent> event)
-
sendRequestToCoordinator
CompletableFuture<CoordinationResponse> sendRequestToCoordinator(OperatorID operatorID, SerializedValue<CoordinationRequest> request)
-
-