跳转到内容
简体中文

ProducerControllerOptionsType

此内容尚不支持你的语言。

ProducerControllerOptionsType<T> = object

Defined in: src/delivery/ProducerControllerOptions.ts:7

Plain options-object shape accepted by a ProducerController.

T

readonly consumer: ActorRef<Delivery<T>>

Defined in: src/delivery/ProducerControllerOptions.ts:8


readonly optional producerId?: string

Defined in: src/delivery/ProducerControllerOptions.ts:20

Stable identifier used by consumers to dedup across restarts.


readonly optional resendTimeout?: number

Defined in: src/delivery/ProducerControllerOptions.ts:12

How long to wait for an Acknowledgment before re-sending. Default 500ms.


readonly optional windowSize?: number

Defined in: src/delivery/ProducerControllerOptions.ts:18

Flow-control window: at most windowSize messages may be in-flight (un-acked) at any moment. Additional Sends queue until room opens up. Default: 16.