public interface JobMasterOperatorEventGateway
OperatorEvent
or CoordinationRequest
from the Task Manager to
to the OperatorCoordinator
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 the OperatorID
, and
forwards it to:TaskOperatorEventGateway
enriches the event with the ExecutionAttemptID
and
forwards it to the:JobMasterOperatorEventGateway
which is RPC interface from the TaskManager to the JobManager.Modifier and Type | Method and Description |
---|---|
CompletableFuture<Acknowledge> |
sendOperatorEventToCoordinator(ExecutionAttemptID task,
OperatorID operatorID,
SerializedValue<OperatorEvent> event) |
CompletableFuture<CoordinationResponse> |
sendRequestToCoordinator(OperatorID operatorID,
SerializedValue<CoordinationRequest> request) |
CompletableFuture<Acknowledge> sendOperatorEventToCoordinator(ExecutionAttemptID task, OperatorID operatorID, SerializedValue<OperatorEvent> event)
CompletableFuture<CoordinationResponse> sendRequestToCoordinator(OperatorID operatorID, SerializedValue<CoordinationRequest> request)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.