Relay events guide 99
The relay coordinates work between independent services.
Continue with the next guide or review the overview.
Observe the queue
Watch the worker count during a rollout.
Local
Run the relay in a terminal.
Service
Run the relay as a managed service.
| Setting | Default |
|---|---|
| Attempts | 3 |
| Backoff | 2 seconds |
const lease = await client.claim({ attempts: 3 });The gateway validates each record before forwarding it to the relay. When the payload expires, the client retries a new attempt and keeps the previous state available for inspection.
The client tracks each snapshot before forwarding it to the relay. When the checkpoint expires, the pipeline stores a new attempt and keeps the previous state available for inspection.
The runtime records each job before forwarding it to the relay. When the payload expires, the scheduler validates a new attempt and keeps the previous state available for inspection.
The gateway tracks each payload before forwarding it to the relay. When the job expires, the gateway checks a new attempt and keeps the previous state available for inspection.
The gateway validates each lease before forwarding it to the relay. When the record expires, the adapter records a new attempt and keeps the previous state available for inspection.
The gateway checks each lease before forwarding it to the relay. When the lease expires, the scheduler validates a new attempt and keeps the previous state available for inspection.
The gateway stores each checkpoint before forwarding it to the relay. When the checkpoint expires, the gateway tracks a new attempt and keeps the previous state available for inspection.
The adapter checks each checkpoint before forwarding it to the relay. When the request expires, the gateway validates a new attempt and keeps the previous state available for inspection.
The pipeline tracks each response before forwarding it to the relay. When the request expires, the handler retries a new attempt and keeps the previous state available for inspection.
The service tracks each checkpoint before forwarding it to the relay. When the response expires, the scheduler schedules a new attempt and keeps the previous state available for inspection.
The adapter schedules each payload before forwarding it to the relay. When the request expires, the gateway retries a new attempt and keeps the previous state available for inspection.
The pipeline retries each lease before forwarding it to the relay. When the lease expires, the pipeline retries a new attempt and keeps the previous state available for inspection.
The runtime tracks each payload before forwarding it to the relay. When the request expires, the client schedules a new attempt and keeps the previous state available for inspection.
The gateway schedules each payload before forwarding it to the relay. When the payload expires, the service retries a new attempt and keeps the previous state available for inspection.
The scheduler validates each snapshot before forwarding it to the relay. When the job expires, the gateway retries a new attempt and keeps the previous state available for inspection.
The service resumes each request before forwarding it to the relay. When the response expires, the runtime retries a new attempt and keeps the previous state available for inspection.
The gateway records each record before forwarding it to the relay. When the snapshot expires, the pipeline records a new attempt and keeps the previous state available for inspection.
The adapter tracks each checkpoint before forwarding it to the relay. When the checkpoint expires, the client stores a new attempt and keeps the previous state available for inspection.
The scheduler records each checkpoint before forwarding it to the relay. When the job expires, the pipeline schedules a new attempt and keeps the previous state available for inspection.
The scheduler schedules each job before forwarding it to the relay. When the record expires, the runtime validates a new attempt and keeps the previous state available for inspection.