perf: expand gateway capacity and prevent receipt replay
This commit is contained in:
@@ -99,6 +99,7 @@ export interface GatewaySubmitSegmentResultDto {
|
||||
}
|
||||
|
||||
export interface GatewayReceiptEventDto {
|
||||
eventId?: string;
|
||||
traceId?: string;
|
||||
messageId?: string;
|
||||
channelId: string;
|
||||
@@ -114,6 +115,7 @@ export interface GatewayReceiptEventDto {
|
||||
}
|
||||
|
||||
export interface GatewayUplinkEventDto {
|
||||
eventId?: string;
|
||||
traceId?: string;
|
||||
messageId?: string;
|
||||
channelId: string;
|
||||
@@ -136,10 +138,13 @@ export type UplinkMatchCandidateInput = {
|
||||
export interface GatewayPendingDeliveryQueryDto {
|
||||
account: string;
|
||||
limit?: number;
|
||||
claimId?: string;
|
||||
leaseMs?: number;
|
||||
}
|
||||
|
||||
export interface GatewayDownstreamSentDto {
|
||||
id: string;
|
||||
claimId?: string;
|
||||
connectionId?: string;
|
||||
sequenceId?: string;
|
||||
messageId?: string;
|
||||
@@ -153,6 +158,7 @@ export interface GatewayDownstreamAcknowledgedDto extends GatewayDownstreamSentD
|
||||
}
|
||||
|
||||
export type GatewayDownstreamFailureType =
|
||||
| 'claim_released'
|
||||
| 'send_failed'
|
||||
| 'ack_timeout'
|
||||
| 'ack_rejected'
|
||||
|
||||
Reference in New Issue
Block a user